Trait error_chain::ChainedError [] [src]

pub trait ChainedError: Error + Send + 'static {
    type ErrorKind;
    fn new(kind: Self::ErrorKind, state: State) -> Self;
    fn extract_backtrace(e: &Error + Send + 'static)
                     -> Option<Option<Arc<Backtrace>>>; }

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

Associated Types

Associated kind type.

Required Methods

Creates an error from it's parts.

Returns the first known backtrace, either from it's State or from one of the errors from foreign_links.

Implementors