Constructors
constructor
- new WriteConcernError(error): WriteConcernError
Accessors
code
- get code(): number
Returns number
errInfo
- get errInfo(): mongoose.mongo.BSON.Document
errmsg
- get errmsg(): string
Returns string
Methods
toJSON
- toJSON(): WriteConcernErrorData
toString
- toString(): string
Returns string
An error representing a failure by the server to apply the requested write concern to the bulk operation.