
    Vh                         d Z ddlmZ  G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Zg dZy)z0
Exception class definitions for Twisted Names.
    )TimeoutErrorc                       e Zd ZdZy)DomainErrorzu
    Indicates a lookup failed because there were no records matching the given
    C{name, class, type} triple.
    N__name__
__module____qualname____doc__     C/home/dcms/DCMS/lib/python3.12/site-packages/twisted/names/error.pyr   r          r   r   c                       e Zd ZdZy)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      s    r   r   c                       e Zd ZdZd Zy)DNSQueryTimeoutErrorzk
    Indicates a lookup failed due to a timeout.

    @ivar id: The id of the message which timed out.
    c                 <    t        j                  |        || _        y )N)r   __init__id)selfr   s     r   r   zDNSQueryTimeoutError.__init__#   s    d#r   N)r   r   r	   r
   r   r   r   r   r   r      s    r   r   c                       e Zd ZdZy)DNSFormatErrorzQ
    Indicates a query failed with a result of C{twisted.names.dns.EFORMAT}.
    Nr   r   r   r   r   r   (       r   r   c                       e Zd ZdZy)DNSServerErrorzQ
    Indicates a query failed with a result of C{twisted.names.dns.ESERVER}.
    Nr   r   r   r   r   r   .   r   r   r   c                       e Zd ZdZy)DNSNameErrorzO
    Indicates a query failed with a result of C{twisted.names.dns.ENAME}.
    Nr   r   r   r   r   r   4   r   r   r   c                       e Zd ZdZy)DNSNotImplementedErrorzQ
    Indicates a query failed with a result of C{twisted.names.dns.ENOTIMP}.
    Nr   r   r   r   r   r   :   r   r   r   c                       e Zd ZdZy)DNSQueryRefusedErrorzR
    Indicates a query failed with a result of C{twisted.names.dns.EREFUSED}.
    Nr   r   r   r   r!   r!   @   r   r   r!   c                       e Zd ZdZy)DNSUnknownErrorz:
    Indicates a query failed with an unknown result.
    Nr   r   r   r   r#   r#   F   r   r   r#   c                       e Zd ZdZy)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#   r%   N)r
   twisted.internet.deferr   
ValueErrorr   r   r   r   r   r   r   r!   r#   	Exceptionr%   __all__r   r   r   <module>r*      s   

 0* z 	< 	[ [ ; [ ; k I r   