module documentation

exception classes

Class RichTraceback Pull the current exception from the ``sys`` traceback and extracts Mako-specific template information.
Exception CompileException Undocumented
Exception MakoException Undocumented
Exception NameConflictError raised when a reserved word is used inappropriately
Exception RuntimeException Undocumented
Exception SyntaxException Undocumented
Exception TemplateLookupException Undocumented
Exception TopLevelLookupException Undocumented
Exception UnsupportedError raised when a retired feature is used.
Function html_error_template 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_error_template 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_filepos Undocumented
Function _install_fallback Undocumented
Function _install_highlighting Undocumented
Function _install_pygments Undocumented
def html_error_template(): (source)

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.

def text_error_template(lookup=None): (source)

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.

def _format_filepos(lineno, pos, filename): (source)

Undocumented

def _install_fallback(): (source)

Undocumented

def _install_highlighting(): (source)

Undocumented

def _install_pygments(): (source)

Undocumented