Failure Class

Inheritance diagram of Failure

class Failure(message, cls=<class 'jinja2.exceptions.TemplateSyntaxError'>)

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

Methods

__init__(message[, cls])

Descriptions

class Failure

Method details

__init__(message, cls=<class 'jinja2.exceptions.TemplateSyntaxError'>)

Table Of Contents

Previous topic

next

Next topic

Lexer Class