[−][src]Trait snafu::IntoError
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
type Source
The underlying error
Required methods
fn into_error(self, source: Self::Source) -> E
Combine the information to produce the error
Implementors
impl IntoError<Error> for SnafuErrorAsSource where
Error: Error + ErrorCompat,
[src]
Error: Error + ErrorCompat,
type Source = ConfigFileError
fn into_error(self, error: Self::Source) -> Error
[src]
impl IntoError<Error> for SourceErrorDoesNotHaveBacktrace where
Error: Error + ErrorCompat,
[src]
Error: Error + ErrorCompat,
impl IntoError<Error> for UsedInTightLoop where
Error: Error + ErrorCompat,
[src]
Error: Error + ErrorCompat,
impl IntoError<Error> for UsualCase where
Error: Error + ErrorCompat,
[src]
Error: Error + ErrorCompat,
impl IntoError<Error> for Intermediate where
Error: Error + ErrorCompat,
[src]
Error: Error + ErrorCompat,
impl<__T0> IntoError<Error> for Leaf<__T0> where
Error: Error + ErrorCompat,
__T0: Into<i32>,
[src]
Error: Error + ErrorCompat,
__T0: Into<i32>,