This is a number in MongoServerError and a string in MongoDriverError
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 override for formatting stack traces
Generated using TypeDoc
An error coming from the mongo server