Try to Catch This: Try-Catch in Solidity Reviewed
Duration: 00:03:50
Speaker:
Type: Talk
Expertise:
Event: Devcon
Date: Jul 2026
Marc Egli, Blockchain Security Engineer, ChainSecurity
Solidity’s try/catch works very differently from traditional languages: it only applies to external calls and contract creation, and its behavior depends on how the EVM encodes error data. This talk explains the three catch types—Error(string), Panic(uint), and raw bytes—and shows when each is triggered. We’ll cover edge cases like out-of-gas failures, malformed revert data, and nesting, giving developers a clear mental model and practical patterns for handling external call failures safely.
https://defisecuritysummit.org/schedule