This is a number in MongoServerError and a string in MongoDriverError这是MongoServerError中的数字和MongoDriverError的字符串
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如果错误具有提供的错误标签,则返回true
Create 在目标对象上创建.stack
property on a target object.stack
属性
Generated using TypeDoc
An error generated when the user fails to provide authentication credentials before attempting to connect to a mongo server instance.当用户在尝试连接到mongo服务器实例之前未能提供身份验证凭据时生成的错误。