Module Expr Str ImportFrom alias ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list
N/A N/A Exceptions raised by the :mod:`gridfs` package pymongo.errors PyMongoError GridFSError N/A PyMongoError N/A N/A Base class for all GridFS exceptions.

    .. versionadded:: 1.5
     N/A CorruptGridFile N/A GridFSError N/A N/A Raised when a file in :class:`~gridfs.GridFS` is malformed.
     N/A NoFile N/A GridFSError N/A N/A Raised when trying to read from a non-existent file.

    .. versionadded:: 1.6
     N/A FileExists N/A GridFSError N/A N/A Raised when trying to create a file that already exists.

    .. versionadded:: 1.7
     N/A UnsupportedAPI N/A GridFSError N/A N/A Raised when trying to use the old GridFS API.

    In version 1.6 of the PyMongo distribution there were backwards
    incompatible changes to the GridFS API. Upgrading shouldn't be
    difficult, but the old API is no longer supported (with no
    deprecation period). This exception will be raised when attempting
    to use unsupported constructs from the old API.

    .. versionadded:: 1.6
     N/A