[][src]Trait avocado::error::ResultExt

pub trait ResultExt<T>: Sized {
    fn chain<M: ErrMsg>(self, message: M) -> Result<T>;
}

A trait for conveniently propagating errors up the call stack.

Required Methods

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]

Implementors