This commit is contained in:
lefherz 2019-06-05 11:44:20 +02:00
pare c2e9760edc
commit e6ed107fdf

Veure arxiu

@ -3080,19 +3080,19 @@ class MastodonServerError(MastodonAPIError):
"""Raised if the Server is malconfigured and returns a 5xx error code""" """Raised if the Server is malconfigured and returns a 5xx error code"""
pass pass
class MastodonInternalServerError(MastodonServerError) class MastodonInternalServerError(MastodonServerError):
"""Raised if the Server returns a 500 error""" """Raised if the Server returns a 500 error"""
pass pass
class MastodonBadGatewayError(MastodonServerError) class MastodonBadGatewayError(MastodonServerError):
"""Raised if the Server returns a 502 error""" """Raised if the Server returns a 502 error"""
pass pass
class MastodonServiceUnavailableError(MastodonServerError) class MastodonServiceUnavailableError(MastodonServerError):
"""Raised if the Server returns a 503 error""" """Raised if the Server returns a 503 error"""
pass pass
class MastodonGatewayTimeoutError(MastodonServerError) class MastodonGatewayTimeoutError(MastodonServerError):
"""Raised if the Server returns a 504 error""" """Raised if the Server returns a 504 error"""
pass pass