class RichTraceback(object):
Pull the current exception from the sys traceback and extracts Mako-specific template information.
See the usage examples in :ref:`handling_exceptions`.
Instance Variable | error |
Undocumented |
Instance Variable | lineno |
Undocumented |
Instance Variable | message |
Undocumented |
Instance Variable | records |
Undocumented |
Instance Variable | source |
Undocumented |
Method | __init__ |
Undocumented |
Method | _get_reformatted_records |
Undocumented |
Method | _init |
No summary |
Method | _init_message |
Find a unicode representation of self.error |
Instance Variable | _has_source |
Undocumented |
Property | errorname |
Undocumented |
Property | reverse_records |
Undocumented |
Property | reverse_traceback |
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. |