mongoc_gridfs_bucket_stream_error()

Synopsis

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

Description

Retrieves an error for a GridFS stream if one exists.

Returns

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