MKBScan

MongoClientBulkWriteCursorError

Node.jsMongoRuntimeErrorwritecursordriver

Write concern errors that occurred while executing the bulk write. This list may have multiple items if more than one server command was required to execute the bulk write. / writeConcernErrors: Document[]; /** Errors that occurred during the execution of individual write operations. This map will contain at most one entry if the bulk write was ordered. / writeErrors: Map<number, ClientBulkWriteError>; /** The results of any successful operations that were performed before the error was encountered. / partialResult?: ClientBulkWriteResult; /** Initialize the client bulk write error. / constructor(message: ErrorDescription) { super(message); this.writeConcernErrors = []; this.writeErrors = new Map(); } override get name(): string { return 'MongoClientBulkWriteError'; } } /** An error indicating that an error occurred when processing bulk write results.