mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Write tests for YouTube metadata
This commit is contained in:
20
spotdl/metadata/exceptions.py
Normal file
20
spotdl/metadata/exceptions.py
Normal file
@@ -0,0 +1,20 @@
|
||||
class MetadataNotFoundError(Exception):
|
||||
__module__ = Exception.__module__
|
||||
|
||||
def __init__(self, message=None):
|
||||
super().__init__(message)
|
||||
|
||||
|
||||
class SpotifyMetadataNotFoundError(MetadataNotFoundError):
|
||||
__module__ = Exception.__module__
|
||||
|
||||
def __init__(self, message=None):
|
||||
super().__init__(message)
|
||||
|
||||
|
||||
class YouTubeMetadataNotFoundError(MetadataNotFoundError):
|
||||
__module__ = Exception.__module__
|
||||
|
||||
def __init__(self, message=None):
|
||||
super().__init__(message)
|
||||
|
||||
Reference in New Issue
Block a user