[][src]Trait strerror::ErrorChainExt

pub trait ErrorChainExt {
    fn chain<S>(self, context: S) -> StrError
    where
        S: Into<String>
; }

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

See crate level documentation for usage examples.

Required methods

fn chain<S>(self, context: S) -> StrError where
    S: Into<String>, 

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

Loading content...

Implementors

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

Loading content...