diff options
author | cooldome <cdome@bk.ru> | 2020-05-18 16:15:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 08:15:10 -0700 |
commit | 810039ec0b394a952af319616f7da0abfee5d812 (patch) | |
tree | b7595255888fe48b1b8e158f4874c1bd8c293ac5 /doc | |
parent | 5beed56d0a5d9827680b34e7964da2031611dd6d (diff) | |
download | Nim-810039ec0b394a952af319616f7da0abfee5d812.tar.gz |
docs:getCurrentException() and getCurrentExceptionMsg() are not available for imported exceptions (#14392)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.rst | 4 |
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 ============= |