Struct notify_rust::Error
[−]
pub struct Error { // some fields omitted }
D-Bus Error wrapper
Methods
impl Error
fn new_custom(name: &str, message: &str) -> Error
Create a new custom D-Bus Error.
fn name(&self) -> Option<&str>
Error name/type, e g 'org.freedesktop.DBus.Error.Failed'
fn message(&self) -> Option<&str>
Custom message, e g 'Could not find a matching object path'