module documentation

This module contains generic exceptions used by template backends. Although, due to historical reasons, the Django template language also internally uses these exceptions, other exceptions specific to the DTL should not be added here.
Class ​Template​Does​Not​Exist The exception used when a template does not exist. Optional arguments:
Class ​Template​Syntax​Error The exception used for syntax errors during parsing or rendering.