You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.3.0 / IPython / core / doctb / DocTB / format_exception_as_a_whole

function

IPython.core.doctb:DocTB.format_exception_as_a_whole

source: /IPython/core/doctb.py :278

Signature

def   format_exception_as_a_whole ( self etype : type evalue : Optional[BaseException] etb : Optional[TracebackType] context : int tb_offset : Optional[int] )  →  list[list[str]]

Summary

Formats the header, traceback and exception message for a single exception.

Extended Summary

This may be called multiple times by Python 3 exception chaining (PEP 3134).

Aliases

  • IPython.core.doctb.DocTB.format_exception_as_a_whole