Update control-structures.rst

This commit is contained in:
William Entriken 2023-09-05 21:46:44 -04:00 committed by GitHub
parent 16ae76cad7
commit 31618b542e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -636,6 +636,7 @@ or return values from calls to external contracts.
It is currently not possible to use custom errors in combination
with ``require``. Please use ``if (!condition) revert CustomError();`` instead.
See https://github.com/ethereum/solidity/issues/14442
An ``Error(string)`` exception (or an exception without data) is generated
by the compiler