[−][src]Trait avocado::error::ResultExt
A trait for conveniently propagating errors up the call stack.
Required Methods
fn chain<M: ErrMsg>(self, message: M) -> Result<T>
If this Result
is an Err
, then prepend the specified error
to the front of the linked list of causes.
Implementations on Foreign Types
impl<T, E> ResultExt<T> for Result<T, E> where
E: ErrorExt + 'static,
[src]
impl<T, E> ResultExt<T> for Result<T, E> where
E: ErrorExt + 'static,