Function
zope.exceptions.exceptionformatter.format_exception

Signature

format_exception(t, v, tb, limit=None, as_html=False, with_filenames=False)

Documentation String

Format a stack trace and the exception information.

Similar to traceback.format_exception, but adds supplemental information to the traceback and accepts two options, as_html and with_filenames.