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 a required module or dependency is not present in the local environment本地环境中不存在所需的模块或依赖项时生成的错误