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: str,
      lineno: int,
      name: t.Optional[str] = None,
      filename: t.Optional[str] = None,
  ) -> None:
      super().__init__(message)
      self.lineno = lineno
      self.name = name
      self.filename = filename
      self.source: t.Optional[str] = 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: import typing
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)