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
MongoDB refused to execute a command because it is malformed.
Constructors¶
MongoSyntaxException¶
constructor(
errorMessage: String,
code: Int,
codeName: String,
fullResponse: BsonDocument,
server: MongoException.ServerAddress,
command: Command,
namespace: String,
cause: Throwable? = null
)
Properties¶
cause¶
code¶
codeName¶
command¶
errorMessage¶
val errorMessage: String
fullResponse¶
val fullResponse: BsonDocument