progress-pile/dpts-client/src/error.rs

10 lines
274 B
Rust

#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("Parse int error")]
ParseInt(#[from] std::num::ParseIntError),
#[error("Parse toml error")]
TomlDe(#[from] toml::de::Error),
#[error("Missing config value: ({0})")]
MissingConfig(String)
}