mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2026-02-04 10:14:15 +02:00
✔ Properly raise an Exception when user cancels the flow while OAuth grant
This commit is contained in:
@@ -42,3 +42,7 @@ class RateLimited(HttpException):
|
||||
|
||||
class Unauthorized(HttpException):
|
||||
"""A HTTP Exception raised when user is not authorized."""
|
||||
|
||||
|
||||
class AccessDenied(HttpException):
|
||||
"""Exception raised when user cancels OAuth authorization grant."""
|
||||
|
||||
Reference in New Issue
Block a user