Clarify imported exceptions note in manual

This commit is contained in:
Dominik Picheta 2020-06-13 11:44:01 +01:00 • committed by GitHub
commit d3b25a2948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4354,7 +4354,7 @@ caught by reference. Example:
fn() fn()
**Note:** `getCurrentException()` and `getCurrentExceptionMsg()` are not available **Note:** `getCurrentException()` and `getCurrentExceptionMsg()` are not available
for imported exceptions. One needs to use the `except ImportedException as x:` syntax for imported exceptions from C++. One needs to use the `except ImportedException as x:` syntax
and rely on functionality of the `x` object to get exception details. and rely on functionality of the `x` object to get exception details.