Skip to content

Commit 88f624c

Browse files
authored
Merge pull request #12660 from amsavarthan/patch-1
Highlighted "revert" command
2 parents 85d3ddc + e3ebcd6 commit 88f624c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/introduction-to-smart-contracts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ than the maximum value of ``uint`` (``2**256 - 1``). This is also true for the s
222222

223223
:ref:`Errors <errors>` allow you to provide more information to the caller about
224224
why a condition or operation failed. Errors are used together with the
225-
:ref:`revert statement <revert-statement>`. The revert statement unconditionally
225+
:ref:`revert statement <revert-statement>`. The ``revert`` statement unconditionally
226226
aborts and reverts all changes similar to the ``require`` function, but it also
227227
allows you to provide the name of an error and additional data which will be supplied to the caller
228228
(and eventually to the front-end application or block explorer) so that

0 commit comments

Comments
 (0)