pub trait Error: Error + 'static {
    fn as_error(&self) -> &(dyn Error + 'static);
}
Expand description

An error that can be debugged and displayed.

With the std feature, this also supports std::error::Error.

Required Methods

Gets this error as an std::error::Error.

Implementors