EIP-1167 says that:
...
- handles error return bubbling for revert messages
Solidity v0.8.4 added support for custom errors:
error Unauthorized();
contract MyContract {
function foo() external {
revert Unauthorized();
}
}
Are these bubbled up just like revert reasons?
EIP-1167 says that:
Solidity v0.8.4 added support for custom errors:
error Unauthorized(); contract MyContract { function foo() external { revert Unauthorized(); } }Are these bubbled up just like revert reasons?