[−][src]Function error_context::in_context_of
pub fn in_context_of<O, E, C, CE, B>(context: C, body: B) -> Result<O, CE> where
E: WithContext<C, ContextError = CE>,
B: FnOnce() -> Result<O, E>,
Executes closure adding context to returned error value with .with_context(context)