Trait snafu::IntoError[][src]

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.

Associated Types

The underlying error

Required methods

Combine the information to produce the error

Implementors