Enum reproto::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Parser(ErrorKind), Core(ErrorKind), Repository(ErrorKind), Backend(ErrorKind), BorrowMutError(BorrowMutError), Io(Error), Fmt(Error), Log(SetLoggerError), Toml(Error), UrlParseError(ParseError), FromUtf8Error(FromUtf8Error), Pos(String, ErrorPos), File(String, PathBuf), Errors(Vec<Error>), MissingBackend, MissingRequired(Vec<String>, ErrorPos, Vec<ErrorPos>), RegisteredTypeConflict(RpName), PoisonError, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Parser(ErrorKind)
Core(ErrorKind)
Repository(ErrorKind)
Backend(ErrorKind)
BorrowMutError(BorrowMutError)
Io(Error)
Fmt(Error)
Log(SetLoggerError)
Toml(Error)
UrlParseError(ParseError)
FromUtf8Error(FromUtf8Error)
Pos(String, ErrorPos)
File(String, PathBuf)
Errors(Vec<Error>)
MissingBackend
MissingRequired(Vec<String>, ErrorPos, Vec<ErrorPos>)
An instance creation is missing a set of required fields.
RegisteredTypeConflict(RpName)
PoisonError
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.