Internal
Should not be instantiated by the user.
Readonly
causeThe error that caused the operation to fail.
The name of the error. This is always 'UpdateManyError'.
Readonly
partialThe partial result of the UpdateMany
operation that was performed. This is always defined, and is the result
of the operation up to the point of the first error.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
capture
Overview
Represents an error that occurred during an
updateMany
operation (which is, generally, paginated).Contains the number of documents that were successfully matched and/or modified, as well as the cumulative errors that occurred during the operation.
Example
See
Collection.updateMany