SYNOPSIS

bool
mongoc_cursor_error (mongoc_cursor_t *cursor,
                     bson_error_t    *error);

DESCRIPTION

The mongoc_cursor_error() function shall set error with the value of the last error on the cursor.

RETURN VALUE

The mongoc_cursor_error() function returns true if there is an error on the cursor. In the absence of an error, it returns false.

ERRORS

No errors are defined.

SEE ALSO

AUTHORS

This page was written by MongoDB Inc.