Error Handling: Answering your FAQs!
Part 1, a thread 🧵:
1. What is the difference between require, assert, and revert in Solidity?
The main difference is the behavior when the condition fails. require and revert revert the entire transaction and undo all changes, while assert is used for internal errors and will always revert the transaction.