Files
deb-python-django-compressor/compressor/exceptions.py
2012-05-19 20:03:59 +02:00

34 lines
564 B
Python

class CompressorError(Exception):
"""
A general error of the compressor
"""
pass
class UncompressableFileError(Exception):
"""
This exception is raised when a file cannot be compressed
"""
pass
class FilterError(Exception):
"""
This exception is raised when a filter fails
"""
pass
class ParserError(Exception):
"""
This exception is raised when the parser fails
"""
pass
class OfflineGenerationError(Exception):
"""
Offline compression generation related exceptions
"""
pass