o
    ¯bè  ã                   @   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g d¢ZdS )z0
Exception class definitions for Twisted Names.
é    )ÚTimeoutErrorc                   @   ó   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
   ú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 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                   @   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   