aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-06-08 21:23:42 -0400
committerRapptz <[email protected]>2019-06-08 21:23:42 -0400
commit8bf0482af5809ec2337fa9405103f254df2aa579 (patch)
treea71b9d08532477b810a6d14a5330cb929fe4f434 /docs
parentImplement `Guild.get_all_premium_subscribers` (diff)
downloaddiscord.py-8bf0482af5809ec2337fa9405103f254df2aa579.tar.xz
discord.py-8bf0482af5809ec2337fa9405103f254df2aa579.zip
Fix exception hierarchy documentation.
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 99ba9424..0c4b021b 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -2386,6 +2386,8 @@ The following exceptions are thrown by the library.
.. autoexception:: NotFound
+.. autoexception:: InvalidData
+
.. autoexception:: InvalidArgument
.. autoexception:: GatewayNotFound
@@ -2404,11 +2406,12 @@ Exception Hierarchy
- :exc:`Exception`
- :exc:`DiscordException`
- :exc:`ClientException`
+ - :exc:`InvalidData`
+ - :exc:`InvalidArgument`
+ - :exc:`LoginFailure`
+ - :exc:`ConnectionClosed`
- :exc:`NoMoreItems`
- :exc:`GatewayNotFound`
- :exc:`HTTPException`
- :exc:`Forbidden`
- :exc:`NotFound`
- - :exc:`InvalidArgument`
- - :exc:`LoginFailure`
- - :exc:`ConnectionClosed`