1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("DBus error: {0}")]
    ZBus(#[from] zbus::Error),
    #[error("Unsupported method")]
    UnsupportedMethod,
    #[error("Unsupported device")]
    UnsupportedDevice,
    #[error("Unsupported type")]
    UnsupportedType,
}