engine/config_handler/src/lib.rs

30 lines
733 B
Rust
Raw Normal View History

2024-08-23 11:22:09 +00:00
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),
// }