Do not use this constructor!
Meant for internal use only.
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
An error signifying a general system issue