aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2016-11-24 12:08:32 +0100
committerLorenz Diener <[email protected]>2016-11-24 12:08:32 +0100
commit20f5249c7dfedee4fef7f01516645178bfc12f3d (patch)
tree7ccdc684b75f9b14c56b7100bd3f85fbee722318
parentead7b7fc5ed5fe4cd4eec4475de5e4addfbcef76 (diff)
downloadmastodon.py-20f5249c7dfedee4fef7f01516645178bfc12f3d.tar.gz
Documented new error handling code
-rw-r--r--mastodon/Mastodon.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 08821b8..a00f249 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -87,6 +87,9 @@ class Mastodon:
87 Logs in and sets access_token to what was returned. 87 Logs in and sets access_token to what was returned.
88 Can persist access token to file. 88 Can persist access token to file.
89 89
90 Will throw an exception if username / password are wrong, scopes are not
91 valid or granted scopes differ from requested.
92
90 Returns the access_token, as well. 93 Returns the access_token, as well.
91 """ 94 """
92 params = self.__generate_params(locals()) 95 params = self.__generate_params(locals())
Powered by cgit v1.2.3 (git 2.41.0)