jinja2.exceptions

jinja2.exceptions

Jinja exceptions.

copyright:
  1. 2010 by the Jinja Team.
license:

BSD, see LICENSE for more details.

Exceptions

FilterArgumentError([message]) This error is raised if a filter was called with inappropriate
SecurityError([message]) Raised if a template tries to do something insecure if the
TemplateAssertionError(message, lineno[, ...]) Like a template syntax error, but covers cases where something in the template caused an error at compile time that wasn’t necessarily caused by a syntax error.
TemplateError([message]) Baseclass for all template errors.
TemplateNotFound(name[, message]) Raised if a template does not exist.
TemplateRuntimeError([message]) A generic runtime error in the template engine.
TemplateSyntaxError(message, lineno[, name, ...]) Raised to tell the user that there is a problem with the template.
TemplatesNotFound([names, message]) Like TemplateNotFound but raised if multiple templates
UndefinedError([message]) Raised if a template tries to operate on Undefined.

Table Of Contents

Previous topic

load_extensions

Next topic

FilterArgumentError