Struct parenchyma::Error
[−]
[src]
pub struct Error { /* fields omitted */ }
The core error type used in Parenchyma.
Methods
impl Error
[src]
fn new<K, E>(kind: K, error: E) -> Error where K: Into<ErrorKind>, E: Into<Box<Error + Send + Sync>>
Creates a new error from a known kind of error as well as an arbitrary error error.
fn get_ref(&self) -> Option<&Error + Send + Sync + 'static>
Returns a reference to the inner error wrapped by this error (if any).
fn kind(&self) -> ErrorKind
Returns the corresponding ErrorKind
for this error.
Trait Implementations
impl Debug for Error
[src]
impl From<ErrorKind> for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more