summaryrefslogtreecommitdiff
path: root/compressor/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'compressor/exceptions.py')
-rw-r--r--compressor/exceptions.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/compressor/exceptions.py b/compressor/exceptions.py
index 07d79a1..c2d7c60 100644
--- a/compressor/exceptions.py
+++ b/compressor/exceptions.py
@@ -38,3 +38,17 @@ class FilterDoesNotExist(Exception):
Raised when a filter class cannot be found.
"""
pass
+
+
+class TemplateDoesNotExist(Exception):
+ """
+ This exception is raised when a template does not exist.
+ """
+ pass
+
+
+class TemplateSyntaxError(Exception):
+ """
+ This exception is raised when a template syntax error is encountered.
+ """
+ pass