Create .stack property on a target object
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
Optional override for formatting stack traces
This is a number in MongoServerError and a string in MongoDriverError
Legacy name for server error responses
Generated using TypeDoc
mongodb-client-encryption has a dependency on this error, it uses the constructor with a string argument