Enum reproto_backend::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Parser(ErrorKind), PathParser(ErrorKind), Core(ErrorKind), Repository(ErrorKind), Io(Error), Fmt(Error), Json(Error), BorrowMutError(BorrowMutError), BorrowError(BorrowError), Pos(String, ErrorPos), Errors(Vec<Error>), MissingOutput, MissingPrefix(String), MissingTypeImpl(RpType, &'static str), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Parser(ErrorKind)
PathParser(ErrorKind)
Core(ErrorKind)
Repository(ErrorKind)
Io(Error)
Fmt(Error)
Json(Error)
BorrowMutError(BorrowMutError)
BorrowError(BorrowError)
Pos(String, ErrorPos)
Errors(Vec<Error>)
MissingOutput
MissingPrefix(String)
MissingTypeImpl(RpType, &'static str)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.