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