BulkWriteFailure
public struct BulkWriteFailure : 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 human-readable string identifying the error.
Declaration
Swift
public let codeName: String
-
A description of the error.
Declaration
Swift
public let message: String
-
The index of the request that errored.
Declaration
Swift
public let index: Int
-
Declaration
Swift
public init(from decoder: Decoder) throws