Home
last modified time | relevance | path

Searched refs:TemplateSyntaxError (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/third_party/jinja2/
Dlexer.py22 from jinja2.exceptions import TemplateSyntaxError
224 def __init__(self, message, cls=TemplateSyntaxError):
377 raise TemplateSyntaxError('unexpected end of template, '
381 raise TemplateSyntaxError("expected token %r, got %r" %
579 raise TemplateSyntaxError(
590 raise TemplateSyntaxError(msg, lineno, name, filename)
681 raise TemplateSyntaxError('unexpected \'%s\'' %
686 raise TemplateSyntaxError('unexpected \'%s\', '
737 raise TemplateSyntaxError('unexpected char %r at %d' %
Dexceptions.py81 class TemplateSyntaxError(TemplateError): class
119 class TemplateAssertionError(TemplateSyntaxError):
Denvironment.py27 from jinja2.exceptions import TemplateSyntaxError, TemplateNotFound, \
491 except TemplateSyntaxError:
512 except TemplateSyntaxError:
589 except TemplateSyntaxError:
626 raise TemplateSyntaxError('chunk after expression',
630 except TemplateSyntaxError:
710 except TemplateSyntaxError as e:
Ddebug.py17 from jinja2.exceptions import TemplateSyntaxError
114 return isinstance(self.exc_value, TemplateSyntaxError)
135 if isinstance(exc_value, TemplateSyntaxError):
D__init__.py50 TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
Dext.py23 from jinja2.exceptions import TemplateAssertionError, TemplateSyntaxError
611 except TemplateSyntaxError as e:
Dparser.py12 from jinja2.exceptions import TemplateSyntaxError, TemplateAssertionError
52 def fail(self, msg, lineno=None, exc=TemplateSyntaxError):