map_err_with_args

Function map_err_with_args 

Source
pub fn map_err_with_args<T: ErrKindExt, Args: IntoIterator<Item = (&'static str, String)>>(
    loc: &'static str,
    args: Args,
) -> impl FnOnce(T) -> Error
Expand description

Maps the given error to an error with arguments.