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