Solidity 0.6.x features: try/catch statement

E
By Ethereum Foundation Blog
View Original

Article Summary

The try/catch syntax introduced in 0.6.0 is arguably the biggest leap in error handling capabilities in Solidity, since reason strings for revert and require were released in v0.4.22. Both try and catch have been reserved keywords since v0.5.9 and now we can use them to handle failures in external function...

Read the Full Article

This is a summary from our news feed. For the complete article with full details, analysis, and additional content, visit the original source.

Read Full Article on Ethereum Foundation Blog

About This Story

Published:January 29, 2020 at 12:00 AM
Source:Ethereum Foundation Blog
Category:Crypto
Reading Time:~2 min on source

Related Articles

More stories from Crypto