
    h                      l    d 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    )PyMongoErrorc                       e Zd ZdZy)GridFSErrorz%Base class for all GridFS exceptions.N__name__
__module____qualname____doc__     P/var/www/html/ranktracker/api/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
   pymongo.errorsr   r   r   r   r   r   r   r   <module>r      sA    5 '0, 0Fk F?[ ?C Cr   