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
Required methods
fn into_error(self, source: Self::Source) -> E
[src]
fn into_error(self, source: Self::Source) -> E
[src]Combine the information to produce the error