Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3659

Document BSON_ERROR_INVALID

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None

      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

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: