Internal Should not be instantiated by the user.
Private Readonly #causesPrivate Readonly #partialThe name of the error. This is always 'InsertManyError'.
Optional stackStatic Optional prepareOptional override for formatting stack traces
Static stackStatic capture
Overview
Represents an error that occurred during a (potentially paginated)
insertManyoperation on a Table.Contains the inserted primary keys of the documents that were successfully inserted, as well as the cumulative errors that occurred during the operation.
If the operation was ordered, the
insertedIdswill be in the same order as the documents that were attempted to be inserted.Example
Collections vs Tables
There is a sister CollectionInsertManyError class that is used for
insertManyoperations on collections. It's identical in structure, but uses the appropriate SomeId type for the IDs.See