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

9 lines
195 B
Rust
Raw Normal View History

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