OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
names
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
__init__.py
452 bytes
09/08/2017 10:38:35 AM
rw-r--r--
📁
__pycache__
-
03/31/2022 06:22:39 AM
rwxr-xr-x
📄
_rfc1982.py
8.9 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
authority.py
16.14 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
cache.py
3.71 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
client.py
23.45 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
common.py
7.68 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
dns.py
89.13 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
error.py
2.01 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
hosts.py
4.42 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
resolve.py
3.28 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
root.py
12.14 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
secondary.py
5.94 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
server.py
21.78 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
srvconnect.py
8.93 KB
09/08/2017 10:38:36 AM
rw-r--r--
📄
tap.py
4.72 KB
09/08/2017 10:38:36 AM
rw-r--r--
📁
test
-
03/31/2022 06:22:38 AM
rwxr-xr-x
Editing: error.py
Close
# -*- 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']