U
    �Acjè  ã                
   @   sÌ   d Z ddlmZ G dd„ deƒZG dd„ deƒZG dd„ deƒZG d	d
„ d
eƒZG dd„ deƒZG dd„ deƒZ	G dd„ deƒZ
G dd„ deƒZG dd„ deƒZG dd„ deƒZdddd
ddddddg
ZdS )z0
Exception class definitions for Twisted Names.
é    )ÚTimeoutErrorc                   @   s   e Zd ZdZdS )Ú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	   ú7/tmp/pip-unpacked-wheel-nrvc_22y/twisted/names/error.pyr      s   r   c                   @   s   e Zd ZdZdS )Ú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   c                   @   s   e Zd ZdZdd„ ZdS )Ú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    
zDNSQueryTimeoutError.__init__N)r   r   r   r   r   r	   r	   r	   r
   r      s   r   c                   @   s   e Zd ZdZdS )ÚDNSFormatErrorzQ
    Indicates a query failed with a result of C{twisted.names.dns.EFORMAT}.
    Nr   r	   r	   r	   r
   r   (   s   r   c                   @   s   e Zd ZdZdS )ÚDNSServerErrorzQ
    Indicates a query failed with a result of C{twisted.names.dns.ESERVER}.
    Nr   r	   r	   r	   r
   r   .   s   r   c                   @   s   e Zd ZdZdS )ÚDNSNameErrorzO
    Indicates a query failed with a result of C{twisted.names.dns.ENAME}.
    Nr   r	   r	   r	   r
   r   4   s   r   c                   @   s   e Zd ZdZdS )ÚDNSNotImplementedErrorzQ
    Indicates a query failed with a result of C{twisted.names.dns.ENOTIMP}.
    Nr   r	   r	   r	   r
   r   :   s   r   c                   @   s   e Zd ZdZdS )ÚDNSQueryRefusedErrorzR
    Indicates a query failed with a result of C{twisted.names.dns.EREFUSED}.
    Nr   r	   r	   r	   r
   r   @   s   r   c                   @   s   e Zd ZdZdS )ÚDNSUnknownErrorz:
    Indicates a query failed with an unknown result.
    Nr   r	   r	   r	   r
   r   F   s   r   c                   @   s   e Zd ZdZdS )ÚResolverErrorz_
    Indicates a query failed because of a decision made by the local
    resolver object.
    Nr   r	   r	   r	   r
   r   L   s   r   N)r   Ztwisted.internet.deferr   Ú
ValueErrorr   r   r   r   r   r   r   r   r   Ú	Exceptionr   Ú__all__r	   r	   r	   r
   Ú<module>   s,   ö