Trait artifact_app::dev_prefix::ChainedError []

pub trait ChainedError: 'static + Error + Send {
    type ErrorKind;
    fn from_kind(kind: Self::ErrorKind) -> Self;
    fn kind(&self) -> &Self::ErrorKind;
    fn iter(&self) -> ErrorChainIter;
    fn backtrace(&self) -> Option<&()>;

    fn display(&'a self) -> Display<'a, Self> { ... }
}

This trait is implemented on all the errors generated by the error_chain macro.

Associated Types

Associated kind type.

Required Methods

Constructs an error from a kind, and generates a backtrace.

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

Provided Methods

Returns an object which implements Display for printing the full context of this error.

The full cause chain and backtrace, if present, will be printed.

Implementors