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.
This commit is contained in:
Rapptz
2015-11-27 17:03:36 -05:00
parent f83442096b
commit b1b2c0d099
3 changed files with 14 additions and 2 deletions

View File

@ -311,6 +311,8 @@ The following exceptions are thrown by the library.
.. autoexception:: ClientException
.. autoexception:: LoginFailure
.. autoexception:: HTTPException
:members: