aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-11-27 17:03:36 -0500
committerRapptz <[email protected]>2015-11-27 17:03:36 -0500
commitb1b2c0d0997ac29b775f001f632e3327ce86509b (patch)
treea0ede5334b307c403f84db8f732f7cd1e6c59cb7 /docs/api.rst
parentClient.edit_message no longer checks for private channel. (diff)
downloaddiscord.py-b1b2c0d0997ac29b775f001f632e3327ce86509b.tar.xz
discord.py-b1b2c0d0997ac29b775f001f632e3327ce86509b.zip
Add LoginFailure exception for a clearer failure in Client.login
The older HTTPException is not exactly the clearest thing for people who are new to programming or HTTP exceptions in general.
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index f7fcbc8f..3463e2f8 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -311,6 +311,8 @@ The following exceptions are thrown by the library.
.. autoexception:: ClientException
+.. autoexception:: LoginFailure
+
.. autoexception:: HTTPException
:members: