Enum cfg_rs::ConfigError [−][src]
pub enum ConfigError {
ConfigNotFound(String),
ConfigRecursiveNotFound(String),
ConfigTypeMismatch(String, &'static str, &'static str),
ConfigParseError(String, String),
ConfigRecursiveError(String),
ConfigFileNotExists(PathBuf),
ConfigFileNotSupported(PathBuf),
RefValueRecursiveError,
ConfigCause(Box<dyn Error + 'static>),
}Expand description
Configuration Error.
Variants
Config not found.
Tuple Fields of ConfigNotFound
0: StringConfig not found when parsing placeholder.
Tuple Fields of ConfigRecursiveNotFound
0: StringConfig type mismatch.
Config parse error.
Config recursively parsed.
Tuple Fields of ConfigRecursiveError
0: StringConfig file not exists.
Tuple Fields of ConfigFileNotExists
0: PathBufConfig file not supported.
Tuple Fields of ConfigFileNotSupported
0: PathBufRef value cannot define recursively.
Config parse error with other error.