foundry_cheatcodes::env

Function map_env_err

Source
fn map_env_err<'a>(
    key: &'a str,
    value: &'a str,
) -> impl FnOnce(Error) -> Error + 'a
Expand description

Converts the error message of a failed parsing attempt to a more user-friendly message that doesn’t leak the value.