diff options
Diffstat (limited to 'docs/api.rst')
| -rw-r--r-- | docs/api.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index b80ee139..d1d2e754 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -2196,3 +2196,20 @@ The following exceptions are thrown by the library. .. autoexception:: discord.opus.OpusError .. autoexception:: discord.opus.OpusNotLoaded + +Exception Hierarchy +~~~~~~~~~~~~~~~~~~~~~ + +.. exception_hierarchy:: + + - :exc:`Exception` + - :exc:`DiscordException` + - :exc:`ClientException` + - :exc:`NoMoreItems` + - :exc:`GatewayNotFound` + - :exc:`HTTPException` + - :exc:`Forbidden` + - :exc:`NotFound` + - :exc:`InvalidArgument` + - :exc:`LoginFailure` + - :exc:`ConnectionClosed` |