map_string_err_with_args

Function map_string_err_with_args 

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

Maps the given string error to an error with arguments.