Trait jrsonnet_evaluator::error::ResultExt
source · pub trait ResultExt: Sized {
fn with_description<O: Into<String>>(self, msg: impl FnOnce() -> O) -> Self;
fn with_description_src<O: Into<String>>(
self,
src: impl ErrorSource,
msg: impl FnOnce() -> O
) -> Self;
fn description(self, msg: &str) -> Self { ... }
fn description_src(self, src: impl ErrorSource, msg: &str) -> Self { ... }
}