Skip to main content

ignored_error_code_warning

Function ignored_error_code_warning 

Source
pub fn ignored_error_code_warning(value: &Value, extra_codes: &[u64]) -> bool
Expand description

Check whether a solc error should be suppressed based on its error code.

Suppresses the hardcoded defaults plus any codes provided in extra_codes (from foundry.toml ignored_error_codes).