2025-06-18 08:36:01 +09:00
|
|
|
#[derive(thiserror::Error, Debug)]
|
|
|
|
pub enum ConfigError {
|
|
|
|
#[error("missing config: {0}")]
|
|
|
|
MissingConfig(String),
|
2025-07-05 10:30:55 +09:00
|
|
|
#[error("Io error: {0}")]
|
|
|
|
Io(#[from] std::io::Error),
|
|
|
|
#[error("Toml Deserialization Error")]
|
|
|
|
TomlDerialization(#[from] toml::de::Error),
|
|
|
|
#[error("Toml Serialization Error")]
|
|
|
|
TomlSerialization(#[from] toml::ser::Error),
|
2025-06-18 08:36:01 +09:00
|
|
|
}
|