MongoSyntaxException

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(source)

MongoDB refused to execute a command because it is malformed.

Constructors

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

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
val code: Int
Link copied to clipboard
Link copied to clipboard
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