TaurusExceptHookMessageBox

digraph inheritancecd0a9a9daa { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "BaseExceptHook" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A callable class that acts as an excepthook that handles an exception."]; "TaurusExceptHookMessageBox" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A callable class that acts as an excepthook that displays an unhandled"]; "BaseExceptHook" -> "TaurusExceptHookMessageBox" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class TaurusExceptHookMessageBox(hook_to=None, title=None, msg=None)[source]

Bases: taurus.core.util.excepthook.BaseExceptHook

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]

MSG_BOX = None
report(*exc_info)[source]

Report an exception. Overwrite as necessary