diff options
| author | Rapptz <[email protected]> | 2020-09-09 21:24:14 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-09-09 21:24:14 -0400 |
| commit | 450e71f086b548cd294b7439d973befc9284193a (patch) | |
| tree | d5c6e34f1b31a835e95f25f2bf4a891b235b7f19 /docs | |
| parent | Guard uses of the keep alive thread in case they're None (diff) | |
| download | discord.py-450e71f086b548cd294b7439d973befc9284193a.tar.xz discord.py-450e71f086b548cd294b7439d973befc9284193a.zip | |
Add a more concrete exception for 500 status codes.
Fixes #5797
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst index 759aece6..c97197cd 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -904,7 +904,7 @@ of :class:`enum.Enum`. is to be interpreted as a system message or a regular message. .. container:: operations - + .. describe:: x == y Checks if two messages are equal. @@ -2902,6 +2902,8 @@ The following exceptions are thrown by the library. .. autoexception:: NotFound +.. autoexception:: DiscordServerError + .. autoexception:: InvalidData .. autoexception:: InvalidArgument @@ -2931,3 +2933,4 @@ Exception Hierarchy - :exc:`HTTPException` - :exc:`Forbidden` - :exc:`NotFound` + - :exc:`DiscordServerError` |