mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
Add Exceptions
This commit is contained in:
@@ -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