Enum foreman::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Env(VarError), ParseInt(ParseIntError), ParseBool(ParseBoolError), ParseProfile(ParseError), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Env(VarError)
A required environment variable did not exist or was not valid UTF-8
ParseInt(ParseIntError)
An environment variable could not be parsed as an integer
ParseBool(ParseBoolError)
An environment variable could not be parsed as a boolean
ParseProfile(ParseError)
An environment variable could not be parsed as a compilation profile
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.