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

Method constructor

lib/error/createCollectionsError.js:15–18  ·  view source on GitHub ↗
(message, errorsMap)

Source from the content-addressed store, hash-verified

13
14class CreateCollectionsError extends MongooseError {
15 constructor(message, errorsMap) {
16 super(message);
17 this.errors = errorsMap;
18 }
19}
20
21Object.defineProperty(CreateCollectionsError.prototype, 'name', {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected