summaryrefslogtreecommitdiff
path: root/errors.py
diff options
context:
space:
mode:
authorJackson Taylor <jackson@jacksontaylor.xyz>2023-05-10 12:48:52 -0400
committerJackson Taylor <jackson@jacksontaylor.xyz>2023-05-10 12:48:52 -0400
commit56da4e191267147318b2ab2010d92b22fac747da (patch)
treeec908ddbb57fd63f4ce8f097bc0c3fcdfbcfc710 /errors.py
parent7bda15b7d5d034ce2be4293693b2a84ce4b40c3d (diff)
Move error classes to separate module
Diffstat (limited to 'errors.py')
-rw-r--r--errors.py10
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