diff options
author | Lorenz Diener <[email protected]> | 2019-06-05 11:52:43 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2019-06-05 11:52:43 +0200 |
commit | 1a120f03939d36bc14bda0931819db0ab45908af (patch) | |
tree | d7507fecfa6bb037a25e7cc73d0c3911f48200bc /mastodon/__init__.py | |
parent | 6dd18764e39cff0a42aa0f21f88dc1cf4a8e8c63 (diff) | |
parent | e6ed107fdf2c96bf1c698b212e3e0d4a1102e4d0 (diff) | |
download | mastodon.py-1a120f03939d36bc14bda0931819db0ab45908af.tar.gz |
Merge pull request #174 from lefherz/master
extended MastodonServerError for all 5xx error codes
Diffstat (limited to 'mastodon/__init__.py')
-rw-r--r-- | mastodon/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mastodon/__init__.py b/mastodon/__init__.py index 1be4aba..047ffb7 100644 --- a/mastodon/__init__.py +++ b/mastodon/__init__.py | |||
@@ -1,5 +1,5 @@ | |||
1 | from mastodon.Mastodon import Mastodon, AttribAccessDict, MastodonError, MastodonVersionError, MastodonIllegalArgumentError, MastodonIOError, MastodonFileNotFoundError, MastodonNetworkError, MastodonAPIError, MastodonNotFoundError, MastodonUnauthorizedError, MastodonRatelimitError, MastodonMalformedEventError, MastodonServerError | 1 | from mastodon.Mastodon import Mastodon, AttribAccessDict, MastodonError, MastodonVersionError, MastodonIllegalArgumentError, MastodonIOError, MastodonFileNotFoundError, MastodonNetworkError, MastodonAPIError, MastodonNotFoundError, MastodonUnauthorizedError, MastodonRatelimitError, MastodonMalformedEventError, MastodonServerError, MastodonInternalServerError, MastodonBadGatewayError, MastodonServiceUnavailableError, MastodonGatewayTimeoutError |
2 | from mastodon.streaming import StreamListener, CallbackStreamListener | 2 | from mastodon.streaming import StreamListener, CallbackStreamListener |
3 | 3 | ||
4 | __all__ = ['Mastodon', 'AttribAccessDict', 'StreamListener', 'CallbackStreamListener', 'MastodonError', 'MastodonVersionError', 'MastodonIllegalArgumentError', 'MastodonIOError', 'MastodonFileNotFoundError', 'MastodonNetworkError', 'MastodonAPIError', 'MastodonNotFoundError', 'MastodonUnauthorizedError', 'MastodonRatelimitError', 'MastodonMalformedEventError', | 4 | __all__ = ['Mastodon', 'AttribAccessDict', 'StreamListener', 'CallbackStreamListener', 'MastodonError', 'MastodonVersionError', 'MastodonIllegalArgumentError', 'MastodonIOError', 'MastodonFileNotFoundError', 'MastodonNetworkError', 'MastodonAPIError', 'MastodonNotFoundError', 'MastodonUnauthorizedError', 'MastodonRatelimitError', 'MastodonMalformedEventError', |
5 | 'MastodonServerError'] | 5 | 'MastodonServerError', 'MastodonInternalServerError', 'MastodonBadGatewayError', 'MastodonServiceUnavailableError', 'MastodonGatewayTimeoutError'] |