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
Generated using TypeDoc
An error generated when the driver encounters unexpected input or reaches an unexpected/invalid internal state
Should never be directly instantiated.