Exception: Mongo::InvalidDocument

Inherits:
MongoDBError show all
Defined in:
lib/mongo/exceptions.rb

Overview

Raised when trying to insert a document that exceeds the 4MB limit or when the document contains objects that can’t be serialized as BSON.