Trait ruspiro_error::Error [−][src]
pub trait Error: Debug + Display + Send { fn source(&self) -> Option<&(dyn Error + 'static)> { ... } }
The generic Error trait. All actual errors implementing this trait also need to implement Debug
and Display
to provide human readable text of the error.
Provided methods
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
the underlaying source of this error, if any. This allows to “stack” errors while keeping track to it’s root cause