class BSON::Error::InvalidKey

Raised when trying to serialize an object into a key.