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.
|
the connection to Discord.
|
||||||
|
|
||||||
After this function is called, :attr:`is_logged_in` returns True if no
|
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
|
This function raises :exc:`GatewayNotFound` if it was unavailable to connect
|
||||||
to a websocket gateway.
|
to a websocket gateway.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user