reason = N_("Network unreachable")
+class DDNSNoRouteToHostError(DDNSNetworkError):
+ """
+ Thrown when there is no route to a host.
+ """
+ reason = N_("No route to host")
+
+
+class DDNSNotFound(DDNSError):
+ """
+ Thrown when the called URL has not been found
+ """
+ reason = N_("Not found")
+
+
class DDNSRequestError(DDNSError):
"""
Thrown when a request could
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.