DocumentTooLargeError

public struct DocumentTooLargeError : BSONErrorProtocol

An error thrown when a document exceeds the maximum BSON encoding size.