diff options
-rw-r--r-- | mastodon/Mastodon.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 76c22cf..ef71078 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -3080,19 +3080,19 @@ class MastodonServerError(MastodonAPIError): | |||
3080 | """Raised if the Server is malconfigured and returns a 5xx error code""" | 3080 | """Raised if the Server is malconfigured and returns a 5xx error code""" |
3081 | pass | 3081 | pass |
3082 | 3082 | ||
3083 | class MastodonInternalServerError(MastodonServerError) | 3083 | class MastodonInternalServerError(MastodonServerError): |
3084 | """Raised if the Server returns a 500 error""" | 3084 | """Raised if the Server returns a 500 error""" |
3085 | pass | 3085 | pass |
3086 | 3086 | ||
3087 | class MastodonBadGatewayError(MastodonServerError) | 3087 | class MastodonBadGatewayError(MastodonServerError): |
3088 | """Raised if the Server returns a 502 error""" | 3088 | """Raised if the Server returns a 502 error""" |
3089 | pass | 3089 | pass |
3090 | 3090 | ||
3091 | class MastodonServiceUnavailableError(MastodonServerError) | 3091 | class MastodonServiceUnavailableError(MastodonServerError): |
3092 | """Raised if the Server returns a 503 error""" | 3092 | """Raised if the Server returns a 503 error""" |
3093 | pass | 3093 | pass |
3094 | 3094 | ||
3095 | class MastodonGatewayTimeoutError(MastodonServerError) | 3095 | class MastodonGatewayTimeoutError(MastodonServerError): |
3096 | """Raised if the Server returns a 504 error""" | 3096 | """Raised if the Server returns a 504 error""" |
3097 | pass | 3097 | pass |
3098 | 3098 | ||