o
    U×TiB  ã                   @   s   d Z G dd„ deƒZdS ))ÚPdfiumErrorc                       s"   e Zd ZdZd‡ fdd„	Z‡  ZS )r   a  
    An exception from the PDFium library, detected by function return code.
    
    Attributes:
        err_code (int | None): PDFium error code, for programmatic handling of error subtypes, if provided by the API in question (e.g. document loading). None otherwise.
    Nc                    s   t ƒ  |¡ || _d S ©N)ÚsuperÚ__init__Úerr_code)ÚselfÚmsgr   ©Ú	__class__© úR/var/www/html/RAG/RAG_venv/lib/python3.10/site-packages/pypdfium2/_helpers/misc.pyr      s   
zPdfiumError.__init__r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__classcell__r
   r
   r   r   r      s    r   N)Ú__all__ÚRuntimeErrorr   r
   r
   r
   r   Ú<module>   s   