diff options
author | Jackson Taylor <jackson@jacksontaylor.xyz> | 2023-05-10 12:48:52 -0400 |
---|---|---|
committer | Jackson Taylor <jackson@jacksontaylor.xyz> | 2023-05-10 12:48:52 -0400 |
commit | 56da4e191267147318b2ab2010d92b22fac747da (patch) | |
tree | ec908ddbb57fd63f4ce8f097bc0c3fcdfbcfc710 /errors.py | |
parent | 7bda15b7d5d034ce2be4293693b2a84ce4b40c3d (diff) |
Move error classes to separate module
Diffstat (limited to 'errors.py')
-rw-r--r-- | errors.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/errors.py b/errors.py new file mode 100644 index 0000000..9348dcb --- /dev/null +++ b/errors.py @@ -0,0 +1,10 @@ +# Used to indicate if something went wrong while trying to organize the music +# file +class UnableToCreateAlbumDirectoryError(Exception): + pass + + +# Used to indicate if the album cover was not found on the disk when the album +# artwork was meant to be inserted +class UnableToFindThumbnailFileError(Exception): + pass |