MCPcopy Create free account
hub / github.com/Automattic/mongoose / constructor

Method constructor

lib/error/syncIndexes.js:19–22  ·  view source on GitHub ↗
(message, errorsMap)

Source from the content-addressed store, hash-verified

17
18class SyncIndexesError extends MongooseError {
19 constructor(message, errorsMap) {
20 super(message);
21 this.errors = errorsMap;
22 }
23}
24
25Object.defineProperty(SyncIndexesError.prototype, 'name', {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected