BulkWriteError
public struct BulkWriteError : Codable
A struct to represent a write error resulting from an executed bulk write.
-
An integer value identifying the error.
Declaration
Swift
public let code: ServerErrorCode
-
A description of the error.
Declaration
Swift
public let message: String
-
The index of the request that errored.
Declaration
Swift
public let index: Int