[−][src]Trait strerror::ResultChainErrExt
Trait providing chain_err
for mapping the Err
value within a
Result
to a StrError
.
See crate level documentation for usage examples.
Required methods
fn chain_err(self, context: T) -> Result<U, StrError>
Map the Err
value within a Result
to a StrError
, adding
context.
Implementations on Foreign Types
impl<T, U, E> ResultChainErrExt<T, U> for Result<U, E> where
T: Into<String>,
E: Into<Box<dyn Error + Send + Sync>>,
[src]
Loading content...
T: Into<String>,
E: Into<Box<dyn Error + Send + Sync>>,