ProcessedTraceback Class

Inheritance diagram of ProcessedTraceback

class ProcessedTraceback(exc_type, exc_value, frames)

Holds a Jinja preprocessed traceback for priting or reraising.

Methods

__init__(exc_type, exc_value, frames)
render_as_html([full]) Return a unicode string with the traceback as rendered HTML.
render_as_text([limit]) Return a string with the traceback.

Attributes

exc_info Exception info tuple with a proxy around the frame objects.
is_template_syntax_error True if this is a template syntax error.
standard_exc_info Standard python exc_info for re-raising

Descriptions

class ProcessedTraceback

Method details

__init__(exc_type, exc_value, frames)
render_as_html(full=False)

Return a unicode string with the traceback as rendered HTML.

render_as_text(limit=None)

Return a string with the traceback.

Attribute details

exc_info

Exception info tuple with a proxy around the frame objects.

is_template_syntax_error

True if this is a template syntax error.

standard_exc_info

Standard python exc_info for re-raising

Table Of Contents

Previous topic

translate_syntax_error

Next topic

TracebackFrameProxy Class