MongoWriteException

class MongoWriteException(message: String = "Write failed", val server: MongoException.ServerAddress, val command: Command, val errors: List<MongoWriteException.WriteErrorData>, val namespace: String, cause: Throwable? = null) : MongoException(source)

A write operation failed.

Constructors

Link copied to clipboard
constructor(message: String = "Write failed", server: MongoException.ServerAddress, command: Command, errors: List<MongoWriteException.WriteErrorData>, namespace: String, cause: Throwable? = null)

Types

Link copied to clipboard
interface WriteErrorData

Information about a failed write.

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect open val message: String?
Link copied to clipboard
Link copied to clipboard