#StackBounty: #solidity #contract-invocation #revert-opcode #solidity-0.8.x #custom-errors How to bubble up a custom error when using D…

Bounty: 50

Solidity v0.8.4 introduced custom errors:

error Unauthorized();

Say I have contract A which delegate calls to contract B. The latter reverts with the custom error defined above. How can I bubble that error up in contract A?

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.