logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bool

Author

       MongoDB, Inc

Description

       Retrieves an error for a GridFS stream if one exists.

Parameters

stream:      A      mongoc_stream_t      created      by     mongoc_gridfs_bucket_open_upload_stream(),
         mongoc_gridfs_bucket_open_upload_stream_with_id(), or mongoc_gridfs_bucket_open_download_stream().

       • error: A bson_error_t to receive the possible error.

Returns

       True if an error occurred on the stream and sets error. False otherwise.

       SEEALSO:mongoc_gridfs_bucket_open_upload_stream()mongoc_gridfs_bucket_open_upload_stream_with_id()mongoc_gridfs_bucket_open_download_stream()

Synopsis

          bool
          mongoc_gridfs_bucket_stream_error (mongoc_stream_t *stream,
                                             bson_error_t *error);

See Also