[−][src]Trait liquid_error::ResultLiquidChainExt
Result
extension methods for adapting third party errors to Error
.
Required methods
fn chain<S: Into<KString>>(self, msg: S) -> Result<T>
Create an Error
with E
as the cause.
fn chain_with<F>(self, msg: F) -> Result<T> where
F: FnOnce() -> KString,
F: FnOnce() -> KString,
Create an Error
with E
as the cause.
Implementations on Foreign Types
impl<T, E> ResultLiquidChainExt<T> for Result<T, E> where
E: ErrorClone,
[src]
E: ErrorClone,
fn chain<S: Into<KString>>(self, msg: S) -> Result<T>
[src]
fn chain_with<F>(self, msg: F) -> Result<T> where
F: FnOnce() -> KString,
[src]
F: FnOnce() -> KString,