Class | RichTraceback |
Pull the current exception from the sys traceback and extracts Mako-specific template information. |
Function | html_error_template |
No summary |
Function | text_error_template |
No summary |
Class | CompileException |
Undocumented |
Class | MakoException |
Undocumented |
Class | NameConflictError |
raised when a reserved word is used inappropriately |
Class | RuntimeException |
Undocumented |
Class | SyntaxException |
Undocumented |
Class | TemplateLookupException |
Undocumented |
Class | TopLevelLookupException |
Undocumented |
Class | UnsupportedError |
raised when a retired feature is used. |
Function | _format_filepos |
Undocumented |
Function | _install_fallback |
Undocumented |
Function | _install_highlighting |
Undocumented |
Function | _install_pygments |
Undocumented |
Provides a template that renders a stack trace in an HTML format, providing an excerpt of code as well as substituting source template filenames, line numbers and code for that of the originating source template, as applicable.
The template's default encoding_errors value is 'htmlentityreplace'. The template has two options. With the full option disabled, only a section of an HTML document is returned. With the css option disabled, the default stylesheet won't be included.