Enum ashpd::PortalError
source · [−]pub enum PortalError {
ZBus(Error),
Failed,
InvalidArgument(String),
NotFound(String),
Exist(String),
NotAllowed(String),
Cancelled(String),
WindowDestroyed(String),
}
Expand description
An error type that describes the various DBus errors.
See https://github.com/flatpak/xdg-desktop-portal/blob/master/src/xdp-utils.h#L119-L127.
Variants
ZBus(Error)
ZBus specific error.
Failed
Request failed.
InvalidArgument(String)
Invalid arguments passed.
NotFound(String)
Not found.
Exist(String)
Exists already.
NotAllowed(String)
Method not allowed to be called.
Cancelled(String)
Request cancelled.
WindowDestroyed(String)
Window destroyed.
Trait Implementations
Generate an error reply message for the given method call.
Performs the conversion.
Performs the conversion.