BsonInvalidOperationException

fun BsonInvalidOperationException(message: String? = null, cause: Throwable? = null)

constructs a new instance with the given message and cause

Parameters

message

the message

cause

the cause