pub fn full<E, C>(kind: ErrorKind, error: E, message: C) -> Self
    where
        E: Into<Box<dyn std::error::Error + Send + Sync>>,
        C: Into<Cow<'static, str>>,
    {
        Self {
            context: Context::Full(Custom { kind, error: error.into() }, message.into()),
        }
    }
/// Create a new `Error` based on a specific error kind and an underlying error cause
/// along with a message
Create a new `Error` based on a specific error kind and an underlying error cause
along with a message
Create a new ` Error ` based on a specific error kind and an underlying error cause along with a message
pub fn full<E, C>(kind: ErrorKind, error: E, message: C) -> Self
    where
        E: Into<Box<dyn std::error::Error + Send + Sync>>,
        C: Into<Cow<'static, str>>,
    {
        Self {
            context: Context::Full(Custom { kind, error: error.into() }, message.into()),
        }
    }
pub fn full < E , C > ( kind : ErrorKind , error : E , message : C ) -> Self where E : Into < Box < dyn std :: error :: Error + Send + Sync > > , C : Into < Cow < ' static , str > > , { Self { context : Context :: Full ( Custom { kind , error : error . into ( ) } , message . into ( ) ) , } }
Create a new `Error` based on a specific error kind and an underlying error cause
along with a message
Create a new ` Error ` based on a specific error kind and an underlying error cause along with a message
kind
ErrorKind
error
E
message
C