[CDRIVER-3659] Document BSON_ERROR_INVALID Created: 08/May/20  Updated: 31/Mar/22

Status: Backlog
Project: C Driver
Component/s: docs
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The BSON_ERROR_INVALID error domain should be documented on the BSON errors page:
http://mongoc.org/libbson/current/errors.html

This error domain can be returned on BSON validation errors. The error codes that could be returned are the values of the bson_validate_flags_t enum:
BSON_VALIDATE_NONE
BSON_VALIDATE_UTF8
BSON_VALIDATE_DOLLAR_KEYS
BSON_VALIDATE_DOT_KEYS
BSON_VALIDATE_UTF8_ALLOW_NULL
BSON_VALIDATE_EMPTY_KEYS
 
Note, it is documented in the page for bson_validate_with_error:
http://mongoc.org/libbson/current/bson_validate_with_error.html#returns

 


Generated at Wed Feb 07 21:18:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.