BsonSerializationException

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

constructs a new instance with the given message

Parameters

message

the message

cause

the error cause