Enum simple_config_parser::ConfigError [−][src]
pub enum ConfigError {
FileReadError,
NoFileDefined,
InvalidConfig,
ParseError,
NoItem,
}
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.
Error Parseing config value into specified type
No item for the key provided exists