
    KJiK                     j    d Z ddlmZ  G d de          Z G d de          Z G d de          Zd	S )
zH
This module provides the exception hierarchy used by the imdb package.
    )imdbpyLoggerc                       e Zd ZdZd ZdS )	IMDbErrorz:Base class for every exception raised by the imdb package.c                 v    t          j        d| j        j        ||d           t	          j        | g|R i | dS )z@Initialize the exception and pass the message to the log system.z'%s exception raised; args: %s; kwds: %sT)exc_infoN)loggercritical	__class____name__	Exception__init__)selfargskwargss      P/var/www/html/auto_sub_bot/venv/lib/python3.11/site-packages/imdb/_exceptions.pyr   zIMDbError.__init__   sW     	5N#T6D	
 	
 	
 	
 	41$111&11111    N)r   
__module____qualname____doc__r    r   r   r   r      s)        DD2 2 2 2 2r   r   c                       e Zd ZdZdS )IMDbDataAccessErrorz<Exception raised when is not possible to access needed data.Nr   r   r   r   r   r   r   r   r   %   s        FFDr   r   c                       e Zd ZdZdS )IMDbParserErrorz9Exception raised when an error occurred parsing the data.Nr   r   r   r   r   r   *   s        CCDr   r   N)r   imdb._loggingr   r   r   r   r   r   r   r   r   <module>r      s   "  1 0 0 0 0 0
2 
2 
2 
2 
2	 
2 
2 
2	 	 	 	 	) 	 	 	
	 	 	 	 	i 	 	 	 	 	r   