mongoc_bulkwriteexception_writeerrors(3)

mongoc_bulkwriteexception_writeerrors3

Usage

const bson_t *
mongoc_bulkwriteexception_writeerrors (const mongoc_bulkwriteexception_t *self);

Overview

Returns a BSON document mapping model indexes to write errors. Example:

{
  "0" : { "code" : 123, "message" : "foo", "details" : {  } },
  "1" : { "code" : 456, "message" : "bar", "details" : {  } }
}

Returns an empty document if there are no write errors.

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.