pub trait Error: Error + 'static + Send + Sync {
// Required method
fn as_error(&self) -> &(dyn Error + Send + Sync + 'static);
}
Expand description
An error that can be debugged and displayed.
With the std
feature, this also supports std::error::Error
.