Add Exceptions

This commit is contained in:
geoffrey45 committed 2022-03-27 18:12:20 +03:00
1 parent b7f34e1677
commit 8bb13a109d
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
class TrackExistsInPlaylist(Exception):
"""
Exception raised when a track is already in a playlist.
"""
pass
class PlaylistExists(Exception):
"""
Exception raised when a playlist already exists.
"""
pass