WriteError
public struct WriteError : MongoServerError
An error that is thrown when a single write command fails on the server.
-
The write error associated with this error.
Declaration
Swift
public let writeFailure: WriteFailure? -
The write concern error associated with this error.
Declaration
Swift
public let writeConcernFailure: WriteConcernFailure? -
Labels that may describe the context in which this error was thrown.
Declaration
Swift
public let errorLabels: [String]? -
Declaration
Swift
public var errorDescription: String? { get }
View on GitHub
Install in Dash
WriteError Structure Reference