Exception: BSON::Error::UnserializableClass
- Inherits:
-
BSON::Error
- Object
- StandardError
- BSON::Error
- BSON::Error::UnserializableClass
- Defined in:
- lib/bson/error/unserializable_class.rb
Overview
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.