/usr/lib/python3/dist-packages/twisted/names
NameSizeModeActions
test/-0755rm
__pycache__/-0755rm
authority.py165300644editdlrm
cache.py38040644editdlrm
client.py240080644editdlrm
common.py78600644editdlrm
dns.py912650644editdlrm
error.py20560644editdlrm
hosts.py45210644editdlrm
resolve.py33610644editdlrm
root.py124480644editdlrm
secondary.py60850644editdlrm
server.py223050644editdlrm
srvconnect.py91440644editdlrm
tap.py48320644editdlrm
_rfc1982.py91130644editdlrm
__init__.py4520644editdlrm
Edit: /usr/lib/python3/dist-packages/twisted/names/error.py (2056B)
# -*- test-case-name: twisted.names.test -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Exception class definitions for Twisted Names. """ from __future__ import division, absolute_import from twisted.internet.defer import TimeoutError class DomainError(ValueError): """ Indicates a lookup failed because there were no records matching the given C{name, class, type} triple. """ class AuthoritativeDomainError(ValueError): """ Indicates a lookup failed for a name for which this server is authoritative because there were no records matching the given C{name, class, type} triple. """ class DNSQueryTimeoutError(TimeoutError): """ Indicates a lookup failed due to a timeout. @ivar id: The id of the message which timed out. """ def __init__(self, id): TimeoutError.__init__(self) self.id = id class DNSFormatError(DomainError): """ Indicates a query failed with a result of C{twisted.names.dns.EFORMAT}. """ class DNSServerError(DomainError): """ Indicates a query failed with a result of C{twisted.names.dns.ESERVER}. """ class DNSNameError(DomainError): """ Indicates a query failed with a result of C{twisted.names.dns.ENAME}. """ class DNSNotImplementedError(DomainError): """ Indicates a query failed with a result of C{twisted.names.dns.ENOTIMP}. """ class DNSQueryRefusedError(DomainError): """ Indicates a query failed with a result of C{twisted.names.dns.EREFUSED}. """ class DNSUnknownError(DomainError): """ Indicates a query failed with an unknown result. """ class ResolverError(Exception): """ Indicates a query failed because of a decision made by the local resolver object. """ __all__ = [ 'DomainError', 'AuthoritativeDomainError', 'DNSQueryTimeoutError', 'DNSFormatError', 'DNSServerError', 'DNSNameError', 'DNSNotImplementedError', 'DNSQueryRefusedError', 'DNSUnknownError', 'ResolverError']