BaseExceptHook

Inheritance diagram of BaseExceptHook
class BaseExceptHook(hook_to=None)[source]

A callable class that acts as an excepthook that handles an exception. This base class simply calls the sys.__excepthook__

Parameters:

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

Import from taurus.core.util.excepthook as:

from taurus.core.util.excepthook import BaseExceptHook
report(*exc_info)[source]

Report an exception. Overwrite as necessary