errors – Exceptions raised by the gridfs package

Exceptions raised by the gridfs package

exception gridfs.errors.CorruptGridFile

Raised when a file in GridFS is malformed.

exception gridfs.errors.FileExists

Raised when trying to create a file that already exists.

exception gridfs.errors.GridFSError

Base class for all GridFS exceptions.

exception gridfs.errors.NoFile

Raised when trying to read from a non-existent file.