From 246d91438fcd3f2fe07dab64d2a1ef1c1d01fa61 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Wed, 12 Oct 2016 10:46:55 +0200 Subject: Codify `bytes` --- docs/control-structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 820fb280..fa983d87 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -325,7 +325,7 @@ In the following example, we show how ``throw`` can be used to easily revert an Currently, there are six 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 bytes on a too large or negative index. +2. If you access a fixed-length ``bytes`` on a too large or negative index. 3. If a function called via a message call 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. 4. If a non-existent function on a library is called or Ether is sent to a library. 5. If you divide or modulo by zero (e.g. ``5 / 0`` or ``23 % 0``). -- cgit v1.2.3