mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Add dbus error to apierror
This commit is contained in:
parent
7449bade91
commit
fb03a17d36
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ pub enum ApiError {
|
|||
|
||||
#[error(transparent)]
|
||||
IOError(#[from] std::io::Error),
|
||||
|
||||
#[error(transparent)]
|
||||
DbusError(#[from] zbus::Error),
|
||||
}
|
||||
|
||||
impl Into<ErrorObject<'static>> for ApiError {
|
||||
|
|
Loading…
Add table
Reference in a new issue