Bson Serialization Exception
class BsonSerializationException(message: String, cause: Throwable?) : BsonException
Content copied to clipboard
An exception indicating a failure to serialize or deserialize a BSON value.
Parameters
message
the message
cause
the error cause
Constructors
Link copied to clipboard
fun BsonSerializationException(message: String, cause: Throwable? = null)
Content copied to clipboard
constructs a new instance with the given message
Functions
Link copied to clipboard
Return the error code if set
Link copied to clipboard
Returns if the error code is set (i.e., not null).