class Mongo::Error::InvalidDocument

Exception raised if the object is not a valid document.

@since 2.0.0