]> git.ipfire.org Git - ddns.git/blobdiff - src/ddns/errors.py
Handle HTTP error 404 generically
[ddns.git] / src / ddns / errors.py
index 58928f30c4da73cf01aa39c09f7fff8405b3ab05..293b4eb8f58510c8e1c8d6218220e80584c8eb10 100644 (file)
@@ -109,6 +109,13 @@ class DDNSNetworkUnreachableError(DDNSNetworkError):
        reason = N_("Network unreachable")
 
 
+class DDNSNotFound(DDNSError):
+       """
+               Thrown when the called URL has not been found
+       """
+       reason = N_("Not found")
+
+
 class DDNSRequestError(DDNSError):
        """
                Thrown when a request could