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
Caused by a
countDocumentsoperation 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
Field
limit - The limit that was set by the caller
Field
hitServerLimit - Whether the server-imposed limit was hit