MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / print_exception

Function print_exception

Lib/traceback.py:110–128  ·  view source on GitHub ↗

Print exception up to 'limit' stack trace entries from 'tb' to 'file'. This differs from print_tb() in the following ways: (1) if traceback is not None, it prints a header "Traceback (most recent call last):"; (2) it prints the exception type and value after the stack trace; (3) if

(etype, value, tb, limit=None, file=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

log_exceptionMethod · 0.90
print_excFunction · 0.70
print_lastFunction · 0.70

Calls 3

_printFunction · 0.85
print_tbFunction · 0.85
format_exception_onlyFunction · 0.85

Tested by

no test coverage detected