Scroll to navigation

MONGOC_BULKWRITEEXCEPTION_WRITECONCERNERRORS(3) libmongoc MONGOC_BULKWRITEEXCEPTION_WRITECONCERNERRORS(3)

SYNOPSIS

const bson_t *
mongoc_bulkwriteexception_writeconcernerrors (const mongoc_bulkwriteexception_t *self);


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.

AUTHOR

MongoDB, Inc

COPYRIGHT

2009-present, MongoDB, Inc.

October 9, 2024 1.28.1