Enum simple_config_parser::config::ConfigError [−][src]
pub enum ConfigError { FileReadError, NoFileDefined, InvalidConfig, }
Expand description
Some errors that can be thrown by this module
Variants
Error reading the file from disk Could have been caused by the file not existing or being inaccessible.
File path has not been defined
You need to define the path to the config file before using this function.
Or just use cfg.parse("<STRING>");
instead.
The config data is not valid The data read from the file is not valid.
Auto Trait Implementations
impl RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl UnwindSafe for ConfigError