FailureElement is an IRenderable which can render detailed information about a Failure.

Present Since12.1
Instance Variable failure The Failure instance which will be rendered.
Method __init__ Undocumented
Method type Render the exception type as a child of tag.
Method value Render the exception value as a child of tag.
Method traceback Render all the frames in the wrapped Failure's traceback stack, replacing tag.

Inherited from Element:

Instance Variable loader The factory which will be used to load documents to return from render. (type: ITemplateLoader provider)
Method lookupRenderMethod Look up and return the named render method.
Method render Implement IRenderable to allow one Element to be embedded in another's template or rendering output.
failure =
The Failure instance which will be rendered.
def __init__(self, failure, loader=None):
Undocumented
@renderer
def type(self, request, tag):

Render the exception type as a child of tag.

@renderer
def value(self, request, tag):

Render the exception value as a child of tag.

@renderer
def traceback(self, request, tag):

Render all the frames in the wrapped Failure's traceback stack, replacing tag.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.