From 56da4e191267147318b2ab2010d92b22fac747da Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Wed, 10 May 2023 12:48:52 -0400 Subject: Move error classes to separate module --- errors.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 errors.py (limited to 'errors.py') 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 -- cgit v1.2.3