summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2020-05-18 16:15:10 +0100
committerGitHub <noreply@github.com>2020-05-18 08:15:10 -0700
commit810039ec0b394a952af319616f7da0abfee5d812 (patch)
treeb7595255888fe48b1b8e158f4874c1bd8c293ac5 /doc
parent5beed56d0a5d9827680b34e7964da2031611dd6d (diff)
downloadNim-810039ec0b394a952af319616f7da0abfee5d812.tar.gz
docs:getCurrentException() and getCurrentExceptionMsg() are not available for imported exceptions (#14392)
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index 4e477f6ff..80029fca4 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -4258,7 +4258,9 @@ caught by reference. Example:
   except std_exception as ex:
     echo ex.what()
 
-
+**Note:** `getCurrentException()` and `getCurrentExceptionMsg()` are not available 
+for imported exceptions. You need to use `except ImportedException as x:` syntax 
+and rely on functionality of `x` object to get exception details.
 
 Effect system
 =============