-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some exceptions handled and some comments added to the files.
- Loading branch information
1 parent
127c400
commit a6c906d
Showing
14 changed files
with
578 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# InvisibleCharm.lib.Exceptions.py | ||
# CodeWriter21 | ||
|
||
from zlib import error as _zlib_error | ||
from magic.magic import MagicException as _MagicException | ||
|
||
__all__ = ['CouldNotDecompressError', 'InvalidCoverDataTypeError', 'CoverDataTypeNotFoundError', | ||
'NoEmbeddedDataFoundError', 'WinEmbeddedFileNotFoundError', 'NoEmbeddedFileFoundError', | ||
'NoWinEmbeddedFileFoundError'] | ||
|
||
|
||
class CouldNotDecompressError(_zlib_error): | ||
pass | ||
|
||
|
||
class InvalidCoverDataTypeError(_MagicException): | ||
pass | ||
|
||
|
||
class CoverDataTypeNotFoundError(InvalidCoverDataTypeError): | ||
pass | ||
|
||
|
||
class NoEmbeddedDataFoundError: | ||
pass | ||
|
||
|
||
class NoEmbeddedFileFoundError(NoEmbeddedDataFoundError, FileNotFoundError): | ||
pass | ||
|
||
|
||
class WinEmbeddedFileNotFoundError(FileNotFoundError): | ||
pass | ||
|
||
|
||
class NoWinEmbeddedFileFoundError(WinEmbeddedFileNotFoundError, NoEmbeddedFileFoundError): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.