mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-06-06 20:39:37 +00:00
Exceptions cleanup
This commit is contained in:
@@ -84,3 +84,11 @@ class CaptchaRequired(LoginException):
|
||||
"""
|
||||
def __init__(self):
|
||||
super().__init__("Captcha is required")
|
||||
|
||||
|
||||
class GQLException(RequestException):
|
||||
"""
|
||||
Raised when a GQL request returns an error response.
|
||||
"""
|
||||
def __init__(self, message: str):
|
||||
super().__init__(message)
|
||||
|
||||
Reference in New Issue
Block a user