class_docstr: Raised to tell the user that there is a problem with the template.
class_docstr_tok: ["Raised","to","tell","the","user","that","there","is","a","problem","with","the","template","."]
code: def __init__(self, message, lineno, name=None, filename=None):
      TemplateError.__init__(self, message)
      self.lineno = lineno
      self.name = name
      self.filename = filename
      self.source = None
  
      # this is set to True if the debug.translate_syntax_error
      # function translated the syntax error into a new traceback
      self.translated = False
  
imports: from ._compat import imap
  from ._compat import implements_to_string
  from ._compat import PY2
  from ._compat import text_type
label_desc: Use image node_id 1 to create a new TemplateSyntaxError object from inherited base classes: TemplateError with example: obj = TemplateSyntaxError(message, lineno, name, filename)