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这是MongoServerError中的一个数字,也是MongoDriverError中的字符串
Optional
connectionOptional
stackOptional
topologyStatic
Optional
prepareOptional override for formatting stack traces格式化堆栈跟踪的可选覆盖
Static
stackLegacy name for server error responses服务器错误响应的旧名称
Static
captureGenerated using TypeDoc
An error thrown when the user attempts to operate on a database or collection through a MongoClient that has not yet successfully called the "connect" method当用户试图通过尚未成功调用“connect”方法的MongoClient对数据库或集合进行操作时引发的错误