class BSON::Error::UnserializableClass

Exception raised when serializing an Array or Hash to BSON and an array or hash element is of a class that does not define how to serialize itself to BSON.