Finish refactor of the new compressed file class support. Closes GitLab issue #7.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-05-24 19:50:14 -04:00
parent 61d2cc3d03
commit e5bb00d514
16 changed files with 282 additions and 101 deletions

View File

@@ -15,6 +15,19 @@ class ActionError(BaseCommonException):
it is used to announce that one item in the queryset failed to process.
"""
class CompressionFileError(BaseCommonException):
"""
Base exception for file decompression class
"""
pass
class NoMIMETypeMatch(CompressionFileError):
"""
There is no decompressor registered for the specified MIME type
"""
pass
class NotLatestVersion(BaseCommonException):
"""