fn map_env_err<'a>( key: &'a str, value: &'a str, ) -> impl FnOnce(Error) -> Error + 'a
Converts the error message of a failed parsing attempt to a more user-friendly message that doesn’t leak the value.