Merge pull request #2062 from flaviut/expose-exception-parent

Expose exception parent
This commit is contained in:
Andreas Rumpf 2015-02-07 18:21:13 +01:00
commit 28af09a446

View file

@ -343,7 +343,7 @@ type
## ##
## Each exception has to inherit from `Exception`. See the full `exception ## Each exception has to inherit from `Exception`. See the full `exception
## hierarchy`_. ## hierarchy`_.
parent: ref Exception ## parent exception (can be used as a stack) parent*: ref Exception ## parent exception (can be used as a stack)
name: cstring ## The exception's name is its Nim identifier. name: cstring ## The exception's name is its Nim identifier.
## This field is filled automatically in the ## This field is filled automatically in the
## ``raise`` statement. ## ``raise`` statement.