U
    ð¤ùd   ã                   @   sT   d 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é    )ÚPyMongoErrorc                   @   s   e Zd ZdZdS )ÚGridFSErrorz%Base class for all GridFS exceptions.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r	   r	   ú1/tmp/pip-unpacked-wheel-oblwsawz/gridfs/errors.pyr      s   r   c                   @   s   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   r   c                   @   s   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   c                   @   s   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   r   N)r   Zpymongo.errorsr   r   r   r   r   r	   r	   r	   r
   Ú<module>   s
   