traceback.md 215 B


icon: package

label: traceback

trackback.print_exc() -> None

Print the last exception and its traceback.

trackback.format_exc() -> str

Return the last exception and its traceback as a string.