mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 14:21:15 +00:00
Add Exceptions
This commit is contained in:
1 parent
b7f34e1677
commit
8bb13a109d
1 file changed
+14
@@ -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
|
||||
Reference in new issue
Block a user