Like a template syntax error, but covers cases where something in the template caused an error at compile time that wasn't necessarily caused by a syntax error. However it's a direct subclass of :exc:`TemplateSyntaxError` and has the same attributes.
| 117 | |
| 118 | |
| 119 | class TemplateAssertionError(TemplateSyntaxError): |
| 120 | """Like a template syntax error, but covers cases where something in the |
| 121 | template caused an error at compile time that wasn't necessarily caused |
| 122 | by a syntax error. However it's a direct subclass of |
| 123 | :exc:`TemplateSyntaxError` and has the same attributes. |
| 124 | """ |
| 125 | |
| 126 | |
| 127 | class TemplateRuntimeError(TemplateError): |