Skip to main content

Error

Trait Error 

Source
pub trait Error: CoreError { }
Expand description

A trait for types that can be used to represent an error.

Particularly, this is a supertrait of the core library Error trait.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<E> Error for E
where E: CoreError,

Blanket implementation of Error for types that are also core Errors.