aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/qtpy2cpp_lib/tokenizer.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-01-31 13:53:24 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-01-31 16:13:11 +0100
commit866f6620aaa852c6fafb4b96625017ad44ce0dcb (patch)
tree6818c3e9796752dc39829903c43b265c178ab0dc /sources/pyside-tools/qtpy2cpp_lib/tokenizer.py
parentf9e885010a55883a066c01b3ee48266b0a919df3 (diff)
shiboken6: Improve code snippet error handling
Type conversion errors in code snippets can be hard to diagnose, particularly when they occur in an invalid context due to misspelt snippet markers. Add some functions wrapping the in try/catch, adding some context information to the error messages. Pick-to: 6.6 Change-Id: I7e35f298497b7fd0b582f43d6941a683e18377b3 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside-tools/qtpy2cpp_lib/tokenizer.py')
0 files changed, 0 insertions, 0 deletions