mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Authenticating services
This commit is contained in:
20
spotdl/authorize/exceptions.py
Normal file
20
spotdl/authorize/exceptions.py
Normal file
@@ -0,0 +1,20 @@
|
||||
class AuthorizationError(Exception):
|
||||
__module__ = Exception.__module__
|
||||
|
||||
def __init__(self, message=None):
|
||||
super().__init__(message)
|
||||
|
||||
|
||||
class SpotifyAuthorizationError(AuthorizationError):
|
||||
__module__ = Exception.__module__
|
||||
|
||||
def __init__(self, message=None):
|
||||
super().__init__(message)
|
||||
|
||||
|
||||
class YouTubeAuthorizationError(AuthorizationError):
|
||||
__module__ = Exception.__module__
|
||||
|
||||
def __init__(self, message=None):
|
||||
super().__init__(message)
|
||||
|
||||
Reference in New Issue
Block a user