mod config_handler;
mod persistent_duration;

pub mod prelude;

// use thiserror::Error;

// pub type Result<T> = std::result::Result<T, ConfigError>;

// #[derive(Error, Debug)]
// pub enum ConfigError {
//     #[error("Error while parsing Duration")]
//     DurationParseError(#[from] std::num::ParseFloatError),

//     #[error("Error while parsing Value Array")]
//     ValueArrayParseError(String),

//     #[error("Error while parsing Value")]
//     ValueParseError(String),

//     #[error("Error when requesting the wrong value type")]
//     WrongValueType,

//     #[error("Error {0:?} with file {1:?}")]
//     FileError(std::io::Error, String),

//     #[error(transparent)]
//     IoError(#[from] std::io::Error),
// }