pub trait IntoError<E> where
    E: Error + ErrorCompat
{ type Source; fn into_error(self, source: Self::Source) -> E; }
Expand description

Combines an underlying error with additional information about the error.

It is expected that most users of SNAFU will not directly interact with this trait.

Required Associated Types

The underlying error

Required Methods

Combine the information to produce the error

Implementors