docs: added details for reverted calls.
This commit is contained in:
parent
9e273220b6
commit
ef5a2b4baa
@ -120,6 +120,13 @@ number is used. Otherwise a [[BigNumber]] is returned.
|
|||||||
|
|
||||||
For bytes (both fixed length and dynamic), a [[DataHexString]] is returned.
|
For bytes (both fixed length and dynamic), a [[DataHexString]] is returned.
|
||||||
|
|
||||||
|
If the call reverts (or runs out of gas), a [CALL_EXCEPTION](errors--call-exception)
|
||||||
|
will be thrown which will include:
|
||||||
|
|
||||||
|
- ``error.address`` - the contract address
|
||||||
|
- ``error.args`` - the arguments passed into the method
|
||||||
|
- ``error.transaction`` - the transaction
|
||||||
|
|
||||||
The //overrides// object for a read-only method may include any of:
|
The //overrides// object for a read-only method may include any of:
|
||||||
|
|
||||||
- ``overrides.from`` - the ``msg.sender`` (or ``CALLER``) to use during the
|
- ``overrides.from`` - the ``msg.sender`` (or ``CALLER``) to use during the
|
||||||
|
Loading…
Reference in New Issue
Block a user