[]Trait graph_rs_sdk::error::snafu::IntoError

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

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

Loading content...

Required methods

pub fn into_error(self, source: Self::Source) -> Error

Combine the information to produce the error

Loading content...

Implementors

Loading content...