Struct BulkWriteError
Describes a failed write command result for a single document.
struct BulkWriteError
;
Fields
Name | Type | Description |
---|---|---|
code
|
int | An integer value identifying the write error. |
details
|
Bson | A document providing more information about the write error (e.g. details pertaining to document validation). |
index
|
int | The index of the request that errored. |
message
|
string | A description of the error. |
See Also
https://www.mongodb.com/docs/manual/reference/method/WriteResult/