summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-11-27 09:31:40 +0100
committerAraq <rumpf_a@web.de>2014-11-27 09:31:40 +0100
commiteb69b81859864d8a47272c397971609e56a6d399 (patch)
treec9d1e8d07c8c9fe6da194d5075358318fc62744d /doc
parentb4e38cb4987b1eeca441bfb405b64951ea27810f (diff)
downloadNim-eb69b81859864d8a47272c397971609e56a6d399.tar.gz
doc improvements
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/definitions.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/definitions.txt b/doc/manual/definitions.txt
index 687980dbc..9eb20f70f 100644
--- a/doc/manual/definitions.txt
+++ b/doc/manual/definitions.txt
@@ -39,7 +39,7 @@ invalid:
   let i = 5
   try:
     a[i] = 'N'
-  except EInvalidIndex:
+  except IndexError:
     echo "invalid index"
 
 An `unchecked runtime error`:idx: is an error that is not guaranteed to be