mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 12:29:30 +02:00
Add Exceptions
This commit is contained in:
6
flask_discord/exceptions.py
Normal file
6
flask_discord/exceptions.py
Normal file
@@ -0,0 +1,6 @@
|
||||
class HttpException(Exception):
|
||||
"""Base Exception class representing a HTTP exception."""
|
||||
|
||||
|
||||
class Unauthorized(HttpException):
|
||||
"""A HTTP Exception raised when user is not authorized."""
|
||||
Reference in New Issue
Block a user