mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update control-structures.rst
This commit is contained in:
parent
16ae76cad7
commit
31618b542e
@ -636,6 +636,7 @@ or return values from calls to external contracts.
|
|||||||
|
|
||||||
It is currently not possible to use custom errors in combination
|
It is currently not possible to use custom errors in combination
|
||||||
with ``require``. Please use ``if (!condition) revert CustomError();`` instead.
|
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
|
An ``Error(string)`` exception (or an exception without data) is generated
|
||||||
by the compiler
|
by the compiler
|
||||||
|
Loading…
Reference in New Issue
Block a user