Documented new error handling code

pull/1/head
Lorenz Diener 2016-11-24 12:08:32 +01:00
rodzic ead7b7fc5e
commit 20f5249c7d
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -87,6 +87,9 @@ class Mastodon:
Logs in and sets access_token to what was returned.
Can persist access token to file.
Will throw an exception if username / password are wrong, scopes are not
valid or granted scopes differ from requested.
Returns the access_token, as well.
"""
params = self.__generate_params(locals())