diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 07:37:23 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-24 08:18:18 +0800 |
commit | a36e2ce0cbb7e1830e25dacd8d79f207c9bcca6a (patch) | |
tree | 42de13ab0c0d43e0809fc4a136fcb757b9f6fa92 /docs/control-structures.rst | |
parent | 81006dae98ee18c33994af0274de10857774ff70 (diff) | |
download | dexon-solidity-a36e2ce0cbb7e1830e25dacd8d79f207c9bcca6a.tar.gz dexon-solidity-a36e2ce0cbb7e1830e25dacd8d79f207c9bcca6a.tar.zst dexon-solidity-a36e2ce0cbb7e1830e25dacd8d79f207c9bcca6a.zip |
Document transfer()
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index df8ac729..ebc45965 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -395,6 +395,7 @@ Currently, Solidity automatically generates a runtime exception in the following #. If your contract receives Ether via a public function without ``payable`` modifier (including the constructor and the fallback function). #. If your contract receives Ether via a public getter function. #. If you call a zero-initialized variable of internal function type. +#. If a ``.transfer()`` fails. While a user-provided exception is generated in the following situations: #. Calling ``throw``. |