MethodProp.HAS_ERRORS
The HAS_ERRORS property is used to add a filter to include or exclude functions that revert with an error.
In solidity a smart contract a developer can define custom errors which are then called when an error is raised.
An example of such a contract would be as below:
An example of a query which would filter to include functions that use errors is
Output
Last updated