jinja2.exceptions.TemplateAssertionError¶
-
exception
jinja2.exceptions.
TemplateAssertionError
(message, lineno, name=None, filename=None)[source]¶ 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. However it’s a direct subclass of
TemplateSyntaxError
and has the same attributes.