Struct easy_error::Error [−][src]
pub struct Error { pub ctx: String, pub location: &'static Location<'static>, pub cause: Option<Box<dyn Error + Send + 'static>>, }
An error that is a human-targetted string plus an optional cause.
Fields
ctx: String
The human-targetting error string.
location: &'static Location<'static>
The location of the error.
cause: Option<Box<dyn Error + Send + 'static>>
The optional cause of the error.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<E> ErrorExt for E where
E: 'static + Error,
[src]
impl<E> ErrorExt for E where
E: 'static + Error,
[src]