X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fddns.git;a=blobdiff_plain;f=src%2Fddns%2Ferrors.py;fp=src%2Fddns%2Ferrors.py;h=26bc18ec46d508c02bbd6836d3cce18495e79bd5;hp=293b4eb8f58510c8e1c8d6218220e80584c8eb10;hb=5d98b00335d8c016c19c884e51c0a48aee2e1692;hpb=78694cf1ecac743ce862793e4b821fac379f7a94;ds=sidebyside diff --git a/src/ddns/errors.py b/src/ddns/errors.py index 293b4eb..26bc18e 100644 --- a/src/ddns/errors.py +++ b/src/ddns/errors.py @@ -109,6 +109,13 @@ class DDNSNetworkUnreachableError(DDNSNetworkError): 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