U
    Û~fhC  ã                   @  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                   @  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-36gvocj8/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	   Ú
__future__r   Zpymongo.errorsr   r   r   r   r   r
   r
   r
   r   Ú<module>   s   