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 coming from the mongo server来自mongo服务器的错误