mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Document the .selector
member for errors
This commit is contained in:
parent
5375dfff9d
commit
7785f46efd
@ -1,5 +1,4 @@
|
|||||||
.. index:: ! error, revert
|
.. index:: ! error, revert, selector; of an error
|
||||||
|
|
||||||
.. _errors:
|
.. _errors:
|
||||||
|
|
||||||
*******************************
|
*******************************
|
||||||
@ -80,3 +79,8 @@ of the built-in type ``Panic(uint256)``.
|
|||||||
by default. This means that an inner call
|
by default. This means that an inner call
|
||||||
can "forge" revert data that looks like it could have come from the
|
can "forge" revert data that looks like it could have come from the
|
||||||
contract that called it.
|
contract that called it.
|
||||||
|
|
||||||
|
Members of Errors
|
||||||
|
=================
|
||||||
|
|
||||||
|
- ``error.selector``: A ``bytes4`` value containing the error selector.
|
||||||
|
Loading…
Reference in New Issue
Block a user