forked from NationTech/harmony
14 lines
293 B
Rust
14 lines
293 B
Rust
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
pub enum Error {
|
|
#[error("XML error: {0}")]
|
|
Xml(String),
|
|
#[error("SSH error: {0}")]
|
|
Ssh(#[from] russh::Error),
|
|
#[error("I/O error: {0}")]
|
|
Io(#[from] std::io::Error),
|
|
#[error("Config error: {0}")]
|
|
Config(String),
|
|
}
|