medium10 pts · first answer countssoliditygas
Custom errors
Why do modern Solidity contracts prefer custom errors like error InsufficientBalance(uint256 needed) over require with a string?
Discussion 0
Join free to post in the discussion.
Related questions
- What gas measuresBlockchain Developer
- storage, memory, calldataBlockchain Developer
- Why emit eventsBlockchain Developer
- What msg.sender isBlockchain Developer
- Wei and etherBlockchain Developer
- view vs pureBlockchain Developer
- Sending ETH to a functionBlockchain Developer
- receive vs fallbackBlockchain Developer