File: //usr/lib/python3/dist-packages/twisted/names/__pycache__/error.cpython-310.pyc
o
�b� � @ s� d Z ddlmZ G dd� de�ZG dd� de�ZG dd� de�ZG d d
� d
e�ZG dd� de�ZG d
d� de�Z G dd� de�Z
G dd� de�ZG dd� de�ZG dd� de
�Zg d�ZdS )z0
Exception class definitions for Twisted Names.
� )�TimeoutErrorc @ � e Zd ZdZdS )�DomainErrorzu
Indicates a lookup failed because there were no records matching the given
C{name, class, type} triple.
N��__name__�
__module__�__qualname__�__doc__� r
r
�5/usr/lib/python3/dist-packages/twisted/names/error.pyr
� r c @ r )�AuthoritativeDomainErrorz�
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.
Nr r
r
r
r r
r r
c @ s e Zd ZdZdd� ZdS )�DNSQueryTimeoutErrorzk
Indicates a lookup failed due to a timeout.
@ivar id: The id of the message which timed out.
c C s t �| � || _d S )N)r �__init__�id)�selfr r
r
r r # s
zDNSQueryTimeoutError.__init__N)r r r r r r
r
r
r r s r c @ r )�DNSFormatErrorzQ
Indicates a query failed with a result of C{twisted.names.dns.EFORMAT}.
Nr r
r
r
r r ( r r c @ r )�DNSServerErrorzQ
Indicates a query failed with a result of C{twisted.names.dns.ESERVER}.
Nr r
r
r
r r . r r c @ r )�DNSNameErrorzO
Indicates a query failed with a result of C{twisted.names.dns.ENAME}.
Nr r
r
r
r r 4 r r c @ r )�DNSNotImplementedErrorzQ
Indicates a query failed with a result of C{twisted.names.dns.ENOTIMP}.
Nr r
r
r
r r : r r c @ r )�DNSQueryRefusedErrorzR
Indicates a query failed with a result of C{twisted.names.dns.EREFUSED}.
Nr r
r
r
r r @ r r c @ r )�DNSUnknownErrorz:
Indicates a query failed with an unknown result.
Nr r
r
r
r r F r r c @ r )�
ResolverErrorz_
Indicates a query failed because of a decision made by the local
resolver object.
Nr r
r
r
r r L r r )
r r
r r r r r r r r N)r �twisted.internet.deferr �
ValueErrorr r
r r r r r r r � Exceptionr �__all__r
r
r
r �<module> s