class_docstr: Raised if a template does not exist.
  
  .. versionchanged:: 2.11
      If the given name is :class:`Undefined` and no message was
      provided, an :exc:`UndefinedError` is raised.
class_docstr_tok: ["Raised","if","a","template","does","not","exist",".","..","versionchanged",":",":","2.11","If","the","given","name","is",":","class",":","`","Undefined","`","and","no","message","was","provided",",","an",":","exc",":","`","UndefinedError","`","is","raised","."]
code: def __str__(self) -> str:
      return str(self.message)
  
imports: import typing
label_desc: Use image node_id 2 for calling the TemplateNotFound obj's underlying member method code with example usage: obj.__str__() and returns: str