Enum gitjournal::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Git(Error), Io(Error), Log(ShutdownLoggerError), Term(Error), TomlDeser(Error), ParseInt(ParseIntError), TomlSer(Error), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Git(Error)
A git error.
Io(Error)
An I/O error.
Log(ShutdownLoggerError)
A logger error error.
Term(Error)
A terminal error.
TomlDeser(Error)
A toml deserialization error.
ParseInt(ParseIntError)
A integer parsing error.
TomlSer(Error)
A toml serialization error.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.