o
    ©Ci`  ã                   @   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 pypdf raises and all of the warnings it uses.

Please note that broken PDF files might cause other Exceptions.
c                   @   ó   e Zd ZdZdS )ÚDeprecationErrorz)Raised when a deprecated feature is used.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úd/var/www/html/fyndo/python/python_agents/rag_suite/venv/lib/python3.10/site-packages/pypdf/errors.pyr      ó    r   c                   @   r   )ÚDependencyErrorzƒ
    Raised when a required dependency (a library or module that PyPDF depends on)
    is not available or cannot be imported.
    Nr   r   r   r   r	   r      r
   r   c                   @   r   )Ú
PyPdfErrorz.Base class for all exceptions raised by PyPDF.Nr   r   r   r   r	   r      r
   r   c                   @   r   )ÚPdfReadErrorz1Raised when there is an issue reading a PDF file.Nr   r   r   r   r	   r      r
   r   c                   @   r   )ÚPageSizeNotDefinedErrorz;Raised when the page size of a PDF document is not defined.Nr   r   r   r   r	   r      r
   r   c                   @   r   )ÚPdfReadWarningzTIssued when there is a potential issue reading a PDF file, but it can still be read.Nr   r   r   r   r	   r      r
   r   c                   @   r   )ÚPdfStreamErrorzGRaised when there is an issue reading the stream of data in a PDF file.Nr   r   r   r   r	   r   #   r
   r   c                   @   r   )Ú
ParseErrorzz
    Raised when there is an issue parsing (analyzing and understanding the
    structure and meaning of) a PDF file.
    Nr   r   r   r   r	   r   '   r
   r   c                   @   r   )ÚFileNotDecryptedErrorz•
    Raised when a PDF file that has been encrypted
    (meaning it requires a password to be accessed) has not been successfully
    decrypted.
    Nr   r   r   r   r	   r   .   r
   r   c                   @   r   )ÚWrongPasswordErrorzORaised when the wrong password is used to try to decrypt an encrypted PDF file.Nr   r   r   r   r	   r   6   r
   r   c                   @   r   )ÚEmptyFileErrorz2Raised when a PDF file is empty or has no content.Nr   r   r   r   r	   r   :   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    