Internal
Should not be instantiated by the user.
Readonly
hitSpecifies if the server-imposed limit was hit. If this is true
, the limit
field will contain the server's
limit; otherwise it will contain the caller's limit.
Readonly
limitThe limit that was specified by the caller, or the server-imposed limit if the caller's limit was too high.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
capture
Overview
Caused by a Collection.countDocuments operation that failed because the resulting number of documents exceeded either the upper bound set by the caller, or the hard limit imposed by the Data API.
Example
See
Collection.countDocuments