aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-08-29 14:16:39 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-09-02 16:03:57 +0200
commit0056a8d9e10e83157c3974ec1475ac1f96fb9cde (patch)
tree7dc0eb5c2d6b4f0d01c63394b38a51ba0dccece7 /examples
parentf2627a6e46a64cd2ed4eb1e14f2fb5c54671be4f (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