Function
zope.exceptions.exceptionformatter.print_exception

Signature

print_exception(t, v, tb, limit=None, file=None, as_html=False, with_filenames=True)

Documentation String

Print exception up to limit stack trace entries from tb to file.

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