docs:getCurrentException() and getCurrentExceptionMsg() are not available for imported exceptions (#14392)
This commit is contained in:
parent
5beed56d0a
commit
810039ec0b
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
=============
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue