DOKK / manpages / debian 13 / libmongoc-doc / mongoc_bulkwriteexception_writeconcernerrors.3.en
MONGOC_BULKWRITEEXCEPTION_WRITECONCERNERRORS(3) libmongoc MONGOC_BULKWRITEEXCEPTION_WRITECONCERNERRORS(3)

const bson_t *
mongoc_bulkwriteexception_writeconcernerrors (const mongoc_bulkwriteexception_t *self);


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.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4