module documentation
exception classes
Class |
|
Pull the current exception from the ``sys`` traceback and extracts Mako-specific template information. |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Exception |
|
raised when a reserved word is used inappropriately |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Exception |
|
Undocumented |
Exception |
|
raised when a retired feature is used. |
Function | html |
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. |
Function | text |
Provides a template that renders a stack trace in a similar format to the Python interpreter, substituting source template filenames, line numbers and code for that of the originating source template, as applicable. |
Function | _format |
Undocumented |
Function | _install |
Undocumented |
Function | _install |
Undocumented |
Function | _install |
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.