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`