aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2016-10-13 18:16:14 +0800
committerYoichi Hirai <i@yoichihirai.com>2016-10-13 18:16:14 +0800
commitd32160a5b8bbc461344098d59ff81a6400fbfaca (patch)
tree46421097310d99ceb74b2bc09061c18ef4168c54
parentff0f44352efa79fb99db7cb43e552d33e9deaf3d (diff)
downloaddexon-solidity-d32160a5b8bbc461344098d59ff81a6400fbfaca.tar
dexon-solidity-d32160a5b8bbc461344098d59ff81a6400fbfaca.tar.gz
dexon-solidity-d32160a5b8bbc461344098d59ff81a6400fbfaca.tar.bz2
dexon-solidity-d32160a5b8bbc461344098d59ff81a6400fbfaca.tar.lz
dexon-solidity-d32160a5b8bbc461344098d59ff81a6400fbfaca.tar.xz
dexon-solidity-d32160a5b8bbc461344098d59ff81a6400fbfaca.tar.zst
dexon-solidity-d32160a5b8bbc461344098d59ff81a6400fbfaca.zip
Change prenouns from `on` to `at`
-rw-r--r--docs/control-structures.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst
index a19baa23..c7236e56 100644
--- a/docs/control-structures.rst
+++ b/docs/control-structures.rst
@@ -324,8 +324,8 @@ In the following example, we show how ``throw`` can be used to easily revert an
Currently, there are situations, where exceptions happen automatically in Solidity:
-1. If you access an array on a too large or negative index (i.e. ``x[i]`` where ``i >= x.length`` or ``i < 0``).
-2. If you access a fixed-length ``bytesN`` on a too large or negative index.
+1. If you access an array at a too large or negative index (i.e. ``x[i]`` where ``i >= x.length`` or ``i < 0``).
+2. If you access a fixed-length ``bytesN`` at a too large or negative index.
3. If you call a function via a message call but it does not finish properly (i.e. it runs out of gas, has no matching function, or throws an exception itself), except when a low level operation ``call``, ``send``, ``delegatecall`` or ``callcode`` is used. The low level operations never throw exceptions but indicate failures by return values being ``false``.
4. If you divide or modulo by zero (e.g. ``5 / 0`` or ``23 % 0``).
5. If you perform an external function call targeting a contract that contains no code.