We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.selector
1 parent 5375dff commit 7785f46Copy full SHA for 7785f46
docs/contracts/errors.rst
@@ -1,5 +1,4 @@
1
-.. index:: ! error, revert
2
-
+.. index:: ! error, revert, selector; of an error
3
.. _errors:
4
5
*******************************
@@ -80,3 +79,8 @@ of the built-in type ``Panic(uint256)``.
80
79
by default. This means that an inner call
81
can "forge" revert data that looks like it could have come from the
82
contract that called it.
+
83
+Members of Errors
84
+=================
85
86
+- ``error.selector``: A ``bytes4`` value containing the error selector.
0 commit comments