class BSON::InvalidKey

Raised when trying to serialize an object into a key.

@since 2.2.4