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)