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
commit 810039ec0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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