Update exceptions.py

This commit is contained in:
mouadessalim 2023-05-06 12:48:51 +01:00 committed by GitHub
parent e7a8ddb932
commit 6518a9d6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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