mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Document Client.login raising exceptions.
This commit is contained in:
parent
9b2a78a031
commit
822e54200d
@ -735,7 +735,8 @@ class Client(object):
|
||||
the connection to Discord.
|
||||
|
||||
After this function is called, :attr:`is_logged_in` returns True if no
|
||||
errors occur.
|
||||
errors occur. If an error occurs during the login process, then
|
||||
:exc:`HTTPException` is raised.
|
||||
|
||||
This function raises :exc:`GatewayNotFound` if it was unavailable to connect
|
||||
to a websocket gateway.
|
||||
|
Loading…
x
Reference in New Issue
Block a user