Enum reproto_core::errors::ErrorKind
[−]
pub enum ErrorKind { Msg(String), IO(Error), Fmt(Error), Context, Pos(String, ErrorPos), MimeFromStrError(FromStrError), InvalidOrdinal, RcGetMut, RcTryUnwrap, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
IO(Error)
Fmt(Error)
Context
Pos(String, ErrorPos)
MimeFromStrError(FromStrError)
InvalidOrdinal
RcGetMut
Error thrown by Rc::get_mut
RcTryUnwrap
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.