o
    HªRh  ã                   @   s¼   d 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d„ deƒZdZdS )z‡
All errors/exceptions PyPDF2 raises and all of the warnings it uses.

Please note that broken PDF files might cause other Exceptions.
c                   @   s   e Zd ZdZdS )ÚDeprecationErrorz)Raised when a deprecated feature is used.N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úO/home/air/sanwanet/backup_V2/venv/lib/python3.10/site-packages/PyPDF2/errors.pyr      s    r   c                   @   ó   e Zd ZdS )ÚDependencyErrorN©r   r   r   r   r   r   r   r	      ó    r	   c                   @   r   )Ú
PyPdfErrorNr
   r   r   r   r   r      r   r   c                   @   r   )ÚPdfReadErrorNr
   r   r   r   r   r      r   r   c                   @   r   )ÚPageSizeNotDefinedErrorNr
   r   r   r   r   r      r   r   c                   @   r   )ÚPdfReadWarningNr
   r   r   r   r   r      r   r   c                   @   r   )ÚPdfStreamErrorNr
   r   r   r   r   r   "   r   r   c                   @   r   )Ú
ParseErrorNr
   r   r   r   r   r   &   r   r   c                   @   r   )ÚFileNotDecryptedErrorNr
   r   r   r   r   r   *   r   r   c                   @   r   )ÚWrongPasswordErrorNr
   r   r   r   r   r   .   r   r   c                   @   r   )ÚEmptyFileErrorNr
   r   r   r   r   r   2   r   r   zStream has ended unexpectedlyN)r   Ú	Exceptionr   r	   r   r   r   ÚUserWarningr   r   r   r   r   r   ÚSTREAM_TRUNCATED_PREMATURELYr   r   r   r   Ú<module>   s    