o
    'èhC  ã                   @  s`   d Z ddlmZ ddlm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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__© r   r   úI/var/www/html/olx_land/venv/lib/python3.10/site-packages/gridfs/errors.pyr      ó    r   c                   @  r   )ÚCorruptGridFilez;Raised when a file in :class:`~gridfs.GridFS` is malformed.Nr   r   r   r   r   r      r   r   c                   @  r   )ÚNoFilez4Raised when trying to read from a non-existent file.Nr   r   r   r   r   r      r   r   c                   @  r   )Ú
FileExistsz8Raised when trying to create a file that already exists.Nr   r   r   r   r   r   !   r   r   N)	r
   Ú
__future__r   Úpymongo.errorsr   r   r   r   r   r   r   r   r   Ú<module>   s   