From 810039ec0b394a952af319616f7da0abfee5d812 Mon Sep 17 00:00:00 2001 From: cooldome Date: Mon, 18 May 2020 16:15:10 +0100 Subject: [PATCH] docs:getCurrentException() and getCurrentExceptionMsg() are not available for imported exceptions (#14392) --- doc/manual.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/manual.rst b/doc/manual.rst index 4e477f6ffb..80029fca47 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 =============