diff options
Diffstat (limited to 'discord/errors.py')
| -rw-r--r-- | discord/errors.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/discord/errors.py b/discord/errors.py index fec1f45d..bd78131a 100644 --- a/discord/errors.py +++ b/discord/errors.py @@ -122,6 +122,14 @@ class NotFound(HTTPException): """ pass +class DiscordServerError(HTTPException): + """Exception that's thrown for when a 500 range status code occurs. + + Subclass of :exc:`HTTPException`. + + .. versionadded:: 1.5 + """ + pass class InvalidData(ClientException): """Exception that's raised when the library encounters unknown |