Package-level declarations

Types

Link copied to clipboard

Something went wrong while exchanging information with the database.

Link copied to clipboard
class MongoSyntaxException(val errorMessage: String, val code: Int, val codeName: String, val fullResponse: BsonDocument, val server: MongoException.ServerAddress, val command: Command, val namespace: String, cause: Throwable? = null) : MongoException

MongoDB refused to execute a command because it is malformed.

Link copied to clipboard
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.