
    [jC                        d Z ddlmZ ddlmZ  G d de          Z G d de          Z G d d	e          Z G d
 de          ZdS )z.Exceptions raised by the :mod:`gridfs` package    )annotations)PyMongoErrorc                      e Zd ZdZdS )GridFSErrorz%Base class for all GridFS exceptions.N__name__
__module____qualname____doc__     Q/var/www/app.qaans.com/backend/venv/lib/python3.11/site-packages/gridfs/errors.pyr   r      s        ////r   r   c                      e Zd ZdZdS )CorruptGridFilez;Raised when a file in :class:`~gridfs.GridFS` is malformed.Nr   r   r   r   r   r      s        EEEEr   r   c                      e Zd ZdZdS )NoFilez4Raised when trying to read from a non-existent file.Nr   r   r   r   r   r      s        >>>>r   r   c                      e Zd ZdZdS )
FileExistsz8Raised when trying to create a file that already exists.Nr   r   r   r   r   r   !   s        BBBBr   r   N)	r   
__future__r   pymongo.errorsr   r   r   r   r   r   r   r   <module>r      s    5 4 " " " " " " ' ' ' ' ' '0 0 0 0 0, 0 0 0F F F F Fk F F F? ? ? ? ?[ ? ? ?C C C C C C C C C Cr   