diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-08-29 14:16:39 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-09-02 16:03:57 +0200 |
commit | 0056a8d9e10e83157c3974ec1475ac1f96fb9cde (patch) | |
tree | 7dc0eb5c2d6b4f0d01c63394b38a51ba0dccece7 /examples | |
parent | f2627a6e46a64cd2ed4eb1e14f2fb5c54671be4f (diff) |
QJSEngine: provide a way to check if an exception was thrown
[ChangeLog][QML][QJSEngine] QJSEngine::evaluate gained an optional
stackTrace parameter. It can be used to check if the returned
QJSValue comes from an uncaught exception, and to retrieve the
backtrace of the execution leading to the error.
Fixes: QTBUG-54925
Change-Id: I2b5ada1f0c33c335b4b9d0d1268e70ca63a1fad1
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions