WriteConcernFailure
public struct WriteConcernFailure : Codable
A struct to represent a write concern error resulting from an executed write operation.
-
An integer value identifying the write concern error.
Declaration
Swift
public let code: ServerErrorCode
-
A human-readable string identifying write concern error.
Declaration
Swift
public let codeName: String
-
A document identifying the write concern setting related to the error.
Declaration
Swift
public let details: Document?
-
A description of the error.
Declaration
Swift
public let message: String