Module custom_errors

Module custom_errors 

Source

Staticsยง

CUSTOM_ERRORS

Functionsยง

is_require_call ๐Ÿ”’
Checks if an expression is a call to the require builtin function.
is_revert_call ๐Ÿ”’
Checks if an expression is a call to the revert builtin function.
is_string_literal ๐Ÿ”’
Checks if an expression is a string literal.
should_lint_require ๐Ÿ”’
Checks if a require call should be linted: has string literal as second argument.
should_lint_revert ๐Ÿ”’
Checks if a revert call should be linted: revert() or revert("message").