1MONGOC_CURSOR_ERROR(3) libmongoc MONGOC_CURSOR_ERROR(3)
2
3
4
6 mongoc_cursor_error - mongoc_cursor_error()
7
9 bool
10 mongoc_cursor_error (mongoc_cursor_t *cursor, bson_error_t *error);
11
13 • cursor: A mongoc_cursor_t.
14
15 • error: An optional location for a bson_error_t or NULL.
16
18 This function checks to see if an error has occurred while iterating
19 the cursor.
20
22 Errors are propagated via the error parameter.
23
25 false if no error has occurred, otherwise true and error is set.
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.23.1 Oct 20, 2022 MONGOC_CURSOR_ERROR(3)