class Mongo::Error::MaxBSONSize

Exception that is raised when trying to serialize a document that exceeds max BSON object size.

@since 2.0.0