Skip to main content

aiproof_config/
error.rs

1#[derive(Debug, thiserror::Error)]
2pub enum ConfigError {
3    #[error("failed to read {path}: {source}")]
4    Io {
5        path: String,
6        #[source]
7        source: std::io::Error,
8    },
9    #[error("failed to parse TOML in {path}: {message}")]
10    Toml { path: String, message: String },
11}