mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
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:
@ -311,6 +311,8 @@ The following exceptions are thrown by the library.
|
||||
|
||||
.. autoexception:: ClientException
|
||||
|
||||
.. autoexception:: LoginFailure
|
||||
|
||||
.. autoexception:: HTTPException
|
||||
:members:
|
||||
|
||||
|
Reference in New Issue
Block a user