1MONGOC_GRIDFS_BUCKET_STREAM_ERROR(3)libmongoMcONGOC_GRIDFS_BUCKET_STREAM_ERROR(3)
2
3
4
6 mongoc_gridfs_bucket_stream_error - mongoc_gridfs_bucket_stream_error()
7
9 bool
10 mongoc_gridfs_bucket_stream_error (mongoc_stream_t *stream,
11 bson_error_t *error);
12
14 • stream: A mongoc_stream_t created by
15 mongoc_gridfs_bucket_open_upload_stream(),
16 mongoc_gridfs_bucket_open_upload_stream_with_id(), or
17 mongoc_gridfs_bucket_open_download_stream().
18
19 • error: A bson_error_t to receive the possible error.
20
22 Retrieves an error for a GridFS stream if one exists.
23
25 True if an error occurred on the stream and sets error. False other‐
26 wise.
27
28 SEE ALSO:
29 mongoc_gridfs_bucket_open_upload_stream()
30
31 mongoc_gridfs_bucket_open_upload_stream_with_id()
32
33 mongoc_gridfs_bucket_open_download_stream()
34
35
37 MongoDB, Inc
38
40 2017-present, MongoDB, Inc
41
42
43
44
451.24.3 Aug 17, 20M2O3NGOC_GRIDFS_BUCKET_STREAM_ERROR(3)