Great article explaining how Solidity reverts, custom errors, and try/catch work:
https://www.rareskills.io/post/try-catch-solidity
Last updated 3 months ago