Skip to content

Commit

Permalink
hint about the 'reason' and 'signature' property of the returnd error…
Browse files Browse the repository at this point in the history
… object added to the documentation
  • Loading branch information
nivida committed Dec 6, 2019
1 parent 7fb7b0c commit b0b7f3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/web3-eth-contract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ handleRevert
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.

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

-------
Returns
-------
Expand Down
1 change: 1 addition & 0 deletions docs/web3-eth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ The ``handleRevert`` options property does default to ``false`` and will return
- :ref:`contract.methods.myMethod(...).send(...) <contract-send>`
- :ref:`contract.methods.myMethod(...).call(...) <contract-call>`

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

-------
Returns
Expand Down

0 comments on commit b0b7f3a

Please sign in to comment.