Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit b0b7f3a

Browse files
committed
hint about the 'reason' and 'signature' property of the returnd error object added to the documentation
1 parent 7fb7b0c commit b0b7f3a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/web3-eth-contract.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ handleRevert
374374
375375
The ``handleRevert`` options property does default to ``false`` and will return the revert reason string if enabled on :ref:`send <contract-send>` or :ref:`call <contract-call>` of a contract method.
376376

377+
.. note:: The revert reason string and the signature does exist as property on the returned error.
378+
377379
-------
378380
Returns
379381
-------

docs/web3-eth.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ The ``handleRevert`` options property does default to ``false`` and will return
418418
- :ref:`contract.methods.myMethod(...).send(...) <contract-send>`
419419
- :ref:`contract.methods.myMethod(...).call(...) <contract-call>`
420420

421+
.. note:: The revert reason string and the signature does exist as property on the returned error.
421422

422423
-------
423424
Returns

0 commit comments

Comments
 (0)