
    "h                     l    d Z dZdZdZ G d de      Z G d de      Z G d d	e      Z G d
 de	      Z
y)zArtur Barseghyanz2013-2023 Artur Barseghyanz,MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-later)	TldBadUrlTldDomainNotFoundTldImproperlyConfigured
TldIOErrorc                       e Zd ZdZy)r   zUTldIOError.

    Supposed to be thrown when problems with reading/writing occur.
    N__name__
__module____qualname____doc__     K/var/www/html/sandstorm/venv/lib/python3.12/site-packages/tld/exceptions.pyr   r      s    r   r   c                   "     e Zd ZdZ fdZ xZS )r   zyTldDomainNotFound.

    Supposed to be thrown when domain name is not found (didn't match) the
    local TLD policy.
    c                 2    t         t        |   d|z         y )Nz-Domain %s didn't match any existing TLD name!)superr   __init__)selfdomain_name	__class__s     r   r   zTldDomainNotFound.__init__   s    /;kI	
r   r   r	   r
   r   r   __classcell__r   s   @r   r   r      s    
 
r   r   c                   "     e Zd ZdZ fdZ xZS )r   zATldBadUrl.

    Supposed to be thrown when bad URL is given.
    c                 2    t         t        |   d|z         y )NzIs not a valid URL %s!)r   r   r   )r   urlr   s     r   r   zTldBadUrl.__init__&   s    i'(@3(FGr   r   r   s   @r   r   r       s    
H Hr   r   c                       e Zd ZdZy)r   zTldImproperlyConfigured.

    Supposed to be thrown when code is improperly configured. Typical use-case
    is when user tries to use `get_tld` function with both `search_public` and
    `search_private` set to False.
    Nr   r   r   r   r   r   *   s    r   r   N)
__author____copyright____license____all__IOErrorr   
ValueErrorr   r   	Exceptionr   r   r   r   <module>r$      sM   
,< 


 

H
 Hi r   