Documented new error handling code

This commit is contained in:
Lorenz Diener 2016-11-24 12:08:32 +01:00
pare ead7b7fc5e
commit 20f5249c7d

Veure arxiu

@ -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())