#[derive(thiserror::Error, Debug)]
pub enum NihilityConfigError {
#[error("IO error")]
IO(#[from] std::io::Error),
#[cfg(feature = "json_config")]
#[error("JSON error")]
JSON(#[from] serde_json::Error),
#[cfg(feature = "toml_config")]
#[error("Toml Deserialize error")]
TomlDe(#[from] toml::de::Error),
#[error("TOML Serialization error")]
TomlSer(#[from] toml::ser::Error),
}