Enum reproto::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Parser(ErrorKind), Codeviz(ErrorKind), Io(Error), Log(SetLoggerError), ParseError(InternalError), BackendError(Error), BackendErrors(Vec<Error>), MissingBackend, DeclError(PathBuf, String, usize, Decl), DeclConflict(PathBuf, String, usize, Decl, Decl), InvalidMerge(Decl, Decl), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Parser(ErrorKind)
Codeviz(ErrorKind)
Io(Error)
Log(SetLoggerError)
ParseError(InternalError)
BackendError(Error)
BackendErrors(Vec<Error>)
MissingBackend
DeclError(PathBuf, String, usize, Decl)
DeclConflict(PathBuf, String, usize, Decl, Decl)
InvalidMerge(Decl, Decl)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl Debug for ErrorKind
impl Display for ErrorKind
impl From<ErrorKind> for ErrorKind
impl From<ErrorKind> for ErrorKind
fn from(e: ErrorKind) -> Self
Performs the conversion.