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

11 lines
274 B
Rust
Raw Normal View History

2025-05-03 11:17:38 +09:00
#[derive(thiserror::Error, Debug)]
pub enum Error {
2025-05-04 11:10:14 +09:00
#[error("Parse int error")]
ParseInt(#[from] std::num::ParseIntError),
2025-05-03 11:17:38 +09:00
#[error("Parse toml error")]
TomlDe(#[from] toml::de::Error),
#[error("Missing config value: ({0})")]
MissingConfig(String)
}