Solidity — All About Errors Handling
17 min readApr 15, 2023
This article is Part III of the “All About Errors” sub-series.
After looking at the different type of errors (Compile vs Runtime Errors), the different type of Solidity errors and the distinctions between them, we will now look at the different ways to handle them.
Solidity provides multiple built-in methods to handle errors, including assert()
, require()
and revert()
. We…