503 API Service Temporarily Unavailable

This commit is contained in:
akamhy 2020-05-06 19:22:56 +05:30 committed by GitHub
parent beb5b625ec
commit 0029d63d8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,11 @@ class BadGateWay(Exception):
Raised when 502 bad gateway.
"""
class WaybackUnavailable(Exception):
"""
Raised when 503 API Service Temporarily Unavailable.
"""
class InvalidUrl(Exception):
"""
Raised when url doesn't follow the standard url format.