use thiserror::Error;
#[derive(Debug, Error)]
pub enum ApplyError {
#[error("failed to connect to the system bus: {source}")]
Connect {
#[source]
source: dbus::Error,
},
#[error("failed to call logind SetBrightness for '{class}/{id}': {source}")]
SetBrightness {
class: String,
id: String,
#[source]
source: dbus::Error,
},
}