[][src]Trait strerror::ErrorChainExt

pub trait ErrorChainExt<T> {
    fn chain(self, context: T) -> StrError;
}

Trait providing chain for converting an error of any type to a StrError.

See crate level documentation for usage examples.

Required methods

fn chain(self, context: T) -> StrError

Convert an error of any type to a StrError, adding context.

Loading content...

Implementors

impl<T, E> ErrorChainExt<T> for E where
    T: Into<String>,
    E: Into<Box<dyn Error + Send + Sync>>, 
[src]

Loading content...