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
A write operation failed.
Constructors¶
MongoWriteException¶
constructor(
message: String = "Write failed",
server: MongoException.ServerAddress,
command: Command,
errors: List<MongoWriteException.WriteErrorData>,
namespace: String,
cause: Throwable? = null
)
Types¶
WriteErrorData¶
interface WriteErrorData
Information about a failed write.