1MONGOC_GRIDFS_FILE_ERROR(3) libmongoc MONGOC_GRIDFS_FILE_ERROR(3)
2
3
4
6 mongoc_gridfs_file_error - mongoc_gridfs_file_error()
7
9 bool
10 mongoc_gridfs_file_error (mongoc_gridfs_file_t *file, bson_error_t *error);
11
13 • file: A mongoc_gridfs_file_t.
14
15 • error: An optional location for a bson_error_t or NULL.
16
18 This function checks to see if there has been an error associated with
19 the last operation upon file.
20
22 Errors are propagated via the error parameter.
23
25 Returns false if there has been no registered error, otherwise true and
26 error is set.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.20.0 Nov 18, 2021 MONGOC_GRIDFS_FILE_ERROR(3)