Trait liquid_core::error::ResultLiquidChainExt
source · pub trait ResultLiquidChainExt<T> {
// Required methods
fn chain<S: Into<KString>>(self, msg: S) -> Result<T>;
fn chain_with<F>(self, msg: F) -> Result<T>
where F: FnOnce() -> KString;
}Expand description
Result extension methods for adapting third party errors to Error.
Required Methods§
sourcefn chain_with<F>(self, msg: F) -> Result<T>where
F: FnOnce() -> KString,
fn chain_with<F>(self, msg: F) -> Result<T>where F: FnOnce() -> KString,
Create an Error with E as the cause.