Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

const bson_t *

Author

       MongoDB, Inc

Description

       Returns a BSON array of write concern errors. Example:

          [
             { "code" : 123, "message" : "foo", "details" : {  } },
             { "code" : 456, "message" : "bar", "details" : {  } }
          ]

       Returns an empty array if there are no write concern errors.

Synopsis

          const bson_t *
          mongoc_bulkwriteexception_writeconcernerrors (const mongoc_bulkwriteexception_t *self);

See Also