mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 04:27:44 +00:00
Expose exception parent
This can be safely exposed because a proc accessor can be created if the representation changes.
This commit is contained in:
@@ -343,7 +343,7 @@ type
|
||||
##
|
||||
## Each exception has to inherit from `Exception`. See the full `exception
|
||||
## 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.
|
||||
## This field is filled automatically in the
|
||||
## ``raise`` statement.
|
||||
|
||||
Reference in New Issue
Block a user