ID EN
Traceback

from_exception

Python 3.11

Capture an exception for later rendering. limit, lookup_lines and capture_locals are as for the StackSummary class.

Syntax

PYTHON
classmethod from_exception(exc, *, limit=None, lookup_lines=True, capture_locals=False)

See Also

StackSummary