jinja2.lexer.Failure

class jinja2.lexer.Failure(message, cls=<class 'jinja2.exceptions.TemplateSyntaxError'>)[source]

Class that raises a TemplateSyntaxError if called. Used by the Lexer to specify known errors.

Methods

__init__(message[, cls])