Part of twisted.web.error View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | __repr__ | Present a string representation which includes a template traceback, so we can tell where this error occurred in the template, as well as in Python. |
Method | __str__ | Undocumented |
Instance Variable | _roots | A list of the objects on the flattener's stack at the time the unflattenable object was encountered. The first element is least deeply nested object and the last element is the most deeply nested. |
Method | _formatRoot | No summary |
self._roots
to a string suitable for
inclusion in a render-traceback (like a normal Python traceback, but can
include "frame" source locations which are not in Python source
files).Parameters | obj | Any object which can be a render step root. Typically, Tag s, strings, and
other simple Python types. |
Returns | A string representation of obj . (type: str ) |