This is a number in MongoServerError and a string in MongoDriverError
An optional reason context, such as an error saved during flow of monitoring and selecting servers
Optional override for formatting stack traces
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 signifying a client-side server selection error