msl.qt.exceptions module

Exception handling.

msl.qt.exceptions.excepthook(exctype, value, traceback)[source]

Displays unhandled exceptions in a QtWidgets.QMessageBox.

See sys.excepthook() for more details.

To implement the excepthook() in your own application include the following:

import sys
from msl import qt

sys.excepthook = qt.excepthook