]> git.ipfire.org Git - oddments/ddns.git/blobdiff - src/ddns/errors.py
Catch temporary problems with resolving DNS entries.
[oddments/ddns.git] / src / ddns / errors.py
index fac3890dbdcb72d31094d9a188de75ae4624593e..58928f30c4da73cf01aa39c09f7fff8405b3ab05 100644 (file)
@@ -117,6 +117,14 @@ class DDNSRequestError(DDNSError):
        reason = N_("Request error")
 
 
+class DDNSResolveError(DDNSNetworkError):
+       """
+               Thrown when a DNS record could not be resolved
+               because of a local error.
+       """
+       reason = N_("Could not resolve DNS entry")
+
+
 class DDNSServiceUnavailableError(DDNSNetworkError):
        """
                Equivalent to HTTP error code 503.