5.1.1.5.1. ExceptionHook

class CodeReview.Logging.ExceptionHook.ExceptionHook(context='')[source]

Bases: object

class CodeReview.Logging.ExceptionHook.StderrExceptionHook(context='')[source]

Bases: CodeReview.Logging.ExceptionHook.ExceptionHook

Log exception on stderr.

_line = '================================================================================'
_line_width = 80
notify(exception_type, exception_value, exception_traceback)[source]
CodeReview.Logging.ExceptionHook.format_exception(exception_type, exception_value, exception_traceback)[source]

Format an exception to string.