diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-10-07 05:13:55 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-10-12 15:35:05 +0800 |
commit | 8f59ec791ebde3d09d73af0db40e26cf98a843e3 (patch) | |
tree | 14f32a4ad312dd307d22e73ba2e72d91c62f30f3 | |
parent | 618410de1113c17499cc3d8dad880c66a5a2d7bf (diff) | |
download | dexon-solidity-8f59ec791ebde3d09d73af0db40e26cf98a843e3.tar dexon-solidity-8f59ec791ebde3d09d73af0db40e26cf98a843e3.tar.gz dexon-solidity-8f59ec791ebde3d09d73af0db40e26cf98a843e3.tar.bz2 dexon-solidity-8f59ec791ebde3d09d73af0db40e26cf98a843e3.tar.lz dexon-solidity-8f59ec791ebde3d09d73af0db40e26cf98a843e3.tar.xz dexon-solidity-8f59ec791ebde3d09d73af0db40e26cf98a843e3.tar.zst dexon-solidity-8f59ec791ebde3d09d73af0db40e26cf98a843e3.zip |
English clarifications
mostly based on suggestions by @axic
-rw-r--r-- | docs/miscellaneous.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index 16033837..f72c1195 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -60,13 +60,13 @@ The position of ``data[4][9].b`` is at ``keccak256(uint256(9) . keccak256(uint25 When Solidity Throws ******************** -Solidity contract throws an exception for unhealthy operations such as +A Solidity contract throws an exception for unhealthy operations such as - division by zero - modulo by zero -- out-of-bounds access on a fixed bytes value -- out-of-bounds access on an array -- a positive value seen by a function without ``payable`` mofifier except when the function is a library function +- out-of-bounds index access on an array +- out-of-bounds index access on a fixed length bytes +- a Ether transfer seen by a function without ``payable`` mofifier except when the function is a library function - execution of ``throw;`` - a contract invocation with no matching interface function or a fallback function - an external call in an exceptional state, for instance, out of gas, invalid jump destination, and so on (however, low level ``call``, ``send``, ``delegatecall`` and ``callcode`` just return zero for such cases). |