From 1bc101137b44379662a0249978c9c9dc28e06d24 Mon Sep 17 00:00:00 2001 From: Joey Date: Fri, 10 Jul 2015 14:55:06 -0600 Subject: [PATCH] Expose the name of an exception. --- lib/system.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/system.nim b/lib/system.nim index 1977c22037..e2d214ef03 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -389,9 +389,9 @@ type ## Each exception has to inherit from `Exception`. See the full `exception ## hierarchy`_. 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. + name*: cstring ## The exception's name is its Nim identifier. + ## This field is filled automatically in the + ## ``raise`` statement. msg* {.exportc: "message".}: string ## the exception's message. Not ## providing an exception message ## is bad style.