From 31618b542e8b65606cbb512e9faccd9b3a236451 Mon Sep 17 00:00:00 2001 From: William Entriken Date: Tue, 5 Sep 2023 21:46:44 -0400 Subject: [PATCH] Update control-structures.rst --- docs/control-structures.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/control-structures.rst b/docs/control-structures.rst index ea8a9c569..dfd8b8519 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -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