Document BSON_ERROR_INVALID

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: