An error thrown when an attempt is made to read from a cursor that has been exhausted
Do not use this constructor!
Meant for internal use only.
Optional message: string
This class is only meant to be constructed within the driver. This constructor is not subject to semantic versioning compatibility guarantees and may change at any time.
This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Legacy name for server error responses
Checks the error to see if it has an error label
The error label to check for
returns true if the error has the provided error label
Create .stack property on a target object
Optional constructorOpt: Function
Generated using TypeDoc