pub fn wrap_in_context_of<O, E, C, B>(
context: C,
body: B,
) -> Result<O, ErrorContext<E, C>>Expand description
Executes closure adding context to returned error value by wrapping it in ErrorContext with .wrap_context(context)
pub fn wrap_in_context_of<O, E, C, B>(
context: C,
body: B,
) -> Result<O, ErrorContext<E, C>>Executes closure adding context to returned error value by wrapping it in ErrorContext with .wrap_context(context)