tokio_dbus/object_path/
object_path_error.rs

1use std::error;
2use std::fmt;
3
4/// An error constructing an object path.
5#[derive(Debug)]
6#[non_exhaustive]
7pub struct ObjectPathError;
8
9impl fmt::Display for ObjectPathError {
10    #[inline]
11    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
12        write!(f, "Invalid D-Bus object path")
13    }
14}
15
16impl error::Error for ObjectPathError {}