Trait rustache::ChainErr
[−]
pub trait ChainErr<T> { fn chain_err<F, EK>(self, callback: F) -> Result<T, Error>
where
F: FnOnce() -> EK,
EK: Into<ErrorKind>; }
Required Methods
fn chain_err<F, EK>(self, callback: F) -> Result<T, Error> where
F: FnOnce() -> EK,
EK: Into<ErrorKind>,
F: FnOnce() -> EK,
EK: Into<ErrorKind>,