TaurusExceptHookMessageBox

Inheritance diagram of TaurusExceptHookMessageBox
class TaurusExceptHookMessageBox(hook_to=None, title=None, msg=None)[source]

A callable class that acts as an excepthook that displays an unhandled exception in a TaurusMessageBox.

Parameters
  • hook_to (callable) – callable excepthook that will be called at the end of this hook handling [default: None]

  • title – message box title [default: None meaning use exception value]

  • msg – message box text [default: None meaning use exception]

Import from taurus.qt.qtgui.dialog as:

from taurus.qt.qtgui.dialog import TaurusExceptHookMessageBox
MSG_BOX = None
report(*exc_info)[source]

Report an exception. Overwrite as necessary