wayland: include object id in request errors
This commit is contained in:
parent
e18da23292
commit
0eb14d2816
3 changed files with 5 additions and 2 deletions
|
|
@ -63,9 +63,10 @@ pub enum UsrConError {
|
|||
Write(#[source] BufFdError),
|
||||
#[error("Server sent an event for object {0} that does not exist")]
|
||||
MissingObject(ObjectId),
|
||||
#[error("Could not process a `{}.{}` event", .interface.name(), .method)]
|
||||
#[error("Could not process a `{}#{}.{}` event", .interface.name(), .id, .method)]
|
||||
MethodError {
|
||||
interface: Interface,
|
||||
id: ObjectId,
|
||||
method: &'static str,
|
||||
#[source]
|
||||
error: Box<dyn Error + 'static>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue