map_string_err

Function map_string_err 

Source
pub fn map_string_err<T: ToString>(loc: &'static str) -> impl Fn(T) -> Error
Expand description

Maps the given string error to an error.