Trait liquid_error::ResultLiquidChainExt
source · pub trait ResultLiquidChainExt<T> {
fn chain<S: Into<Cow<'static, str>>>(self, msg: S) -> Result<T>;
fn chain_with<F>(self, msg: F) -> Result<T>
where
F: FnOnce() -> Cow<'static, str>;
}
Expand description
Result
extension methods for adapting third party errors to Error
.