
    FCfC                    x    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y)z.Exceptions raised by the :mod:`gridfs` package    )annotations)PyMongoErrorc                      e Zd ZdZy)GridFSErrorz%Base class for all GridFS exceptions.N__name__
__module____qualname____doc__     M/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/gridfs/errors.pyr   r      s    /r   r   c                      e Zd ZdZy)CorruptGridFilez;Raised when a file in :class:`~gridfs.GridFS` is malformed.Nr   r   r   r   r   r      s    Er   r   c                      e Zd ZdZy)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y)
FileExistsz8Raised when trying to create a file that already exists.Nr   r   r   r   r   r   !   s    Br   r   N)	r   
__future__r   pymongo.errorsr   r   r   r   r   r   r   r   <module>r      sD    5 " '0, 0Fk F?[ ?C Cr   