docs:getCurrentException() and getCurrentExceptionMsg() are not available for imported exceptions (#14392)

This commit is contained in:
cooldome
2020-05-18 16:15:10 +01:00
committed by GitHub
parent 5beed56d0a
commit 810039ec0b

View File

@@ -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
=============