WriteConcernError

public struct WriteConcernError : Codable

A struct to represent a write concern error resulting from an executed bulk write.

  • An integer value identifying the write concern error.

    Declaration

    Swift

    public let code: ServerErrorCode
  • 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