1MONGOC_GRIDFS_BUCKET_STREAM_ERROR(3)libmongoMcONGOC_GRIDFS_BUCKET_STREAM_ERROR(3)
2
3
4

NAME

6       mongoc_gridfs_bucket_stream_error - mongoc_gridfs_bucket_stream_error()
7

SYNOPSIS

9          bool
10          mongoc_gridfs_bucket_stream_error (mongoc_stream_t *stream,
11                                             bson_error_t *error);
12

PARAMETERS

14       · stream:       A       mongoc_stream_t       created      by      mon‐
15         goc_gridfs_bucket_open_upload_stream,                            mon‐
16         goc_gridfs_bucket_open_upload_stream_with_id,         or         mon‐
17         goc_gridfs_bucket_open_download_stream.
18
19       · error: A bson_error_t to receive the possible error.
20

DESCRIPTION

22       Retrieves an error for a GridFS stream if one exists.
23

SEE ALSO

25       mongoc_gridfs_bucket_open_upload_stream
26
27       mongoc_gridfs_bucket_open_upload_stream_with_id()
28
29       mongoc_gridfs_bucket_open_download_stream
30

RETURNS

32       True if an error occurred on the stream and sets  error.  False  other‐
33       wise.
34

AUTHOR

36       MongoDB, Inc
37
39       2017-present, MongoDB, Inc
40
41
42
43
441.16.2                           Feb 25, 20M2O0NGOC_GRIDFS_BUCKET_STREAM_ERROR(3)
Impressum