Expose exception parent
This can be safely exposed because a proc accessor can be created if the representation changes.
This commit is contained in:
parent
a0d3bd16e7
commit
769652ac90
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue