Enum collective::config::ConfigError
source · pub enum ConfigError {
GetCurrentDir {
source: Error,
},
NoValidPath,
UnknownExtension,
ExtractConfig {
source: Error,
},
}
Variants§
GetCurrentDir
The current directory could not be determined.
NoValidPath
None of the provided paths were valid configuration files.
UnknownExtension
A config file format was not speicfied and we were unable to infer one from the path.
ExtractConfig
Trait Implementations§
source§impl Debug for ConfigError
impl Debug for ConfigError
source§impl Display for ConfigError
impl Display for ConfigError
source§impl Error for ConfigError
impl Error for ConfigError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ConfigError> for CliError
impl From<ConfigError> for CliError
source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.