- Preparing search index...
- The search index is not available
biorate
Constructors
constructor
- new WriteError(err): WriteError
-
Properties
err
Accessors
code
- get code(): number
-
Returns number
errmsg
- get errmsg(): string
-
Returns string
index
- get index(): number
-
Returns number
Methods
toJSON
- toJSON(): {
code: number;
errmsg?: string;
index: number;
op: mongoose.mongo.BSON.Document;
}
-
Returns {
code: number;
errmsg?: string;
index: number;
op: mongoose.mongo.BSON.Document;
}
-
code: number
-
Optional
errmsg?: string
-
index: number
-
toString
- toString(): string
-
Returns string
An error that occurred during a BulkWrite on the server.