pub trait ErrorExtensions: Sized {
    fn extend(&self) -> Error;

    fn extend_with<C>(self, cb: C) -> Error
    where
        C: FnOnce(&Self, &mut ErrorExtensionValues)
, { ... } }
Expand description

An error which can be extended into a Error.

Required Methods

Convert the error to a Error.

Provided Methods

Add extensions to the error, using a callback to make the extensions.

Implementations on Foreign Types

Implementors