class documentation
class RichTraceback: (source)
Pull the current exception from the ``sys`` traceback and extracts Mako-specific template information. See the usage examples in :ref:`handling_exceptions`.
Method | __init__ |
Undocumented |
Instance Variable | error |
Undocumented |
Instance Variable | lineno |
Undocumented |
Instance Variable | message |
Undocumented |
Instance Variable | records |
Undocumented |
Instance Variable | source |
Undocumented |
Property | errorname |
Undocumented |
Property | reverse |
Undocumented |
Property | reverse |
Return the same data as traceback, except in reverse order. |
Property | traceback |
Return a list of 4-tuple traceback records (i.e. normal python format) with template-corresponding lines remapped to the originating template. |
Method | _get |
Undocumented |
Method | _init |
format a traceback from sys.exc_info() into 7-item tuples, containing the regular four traceback tuple items, plus the original template filename, the line number adjusted relative to the template source, and code line from that line number of the template. |
Method | _init |
Find a unicode representation of self.error |
Instance Variable | _has |
Undocumented |
Return a list of 4-tuple traceback records (i.e. normal python format) with template-corresponding lines remapped to the originating template.