Do not use this constructor!
Meant for internal use only.
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.
Optional causeOptional codeThis is a number in MongoServerError and a string in MongoDriverError
Optional connectionOptional reasonAn optional reason context, such as an error saved during flow of monitoring and selecting servers
Optional stackOptional topologyStatic Optional prepareOptional override for formatting stack traces
Static stackLegacy name for server error responses
Static captureGenerated using TypeDoc
An error signifying a client-side server selection error