From 8bf0482af5809ec2337fa9405103f254df2aa579 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 8 Jun 2019 21:23:42 -0400 Subject: [PATCH] Fix exception hierarchy documentation. --- docs/api.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 99ba9424d..0c4b021bc 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`