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