(message, errorsMap)
| 13 | |
| 14 | class CreateCollectionsError extends MongooseError { |
| 15 | constructor(message, errorsMap) { |
| 16 | super(message); |
| 17 | this.errors = errorsMap; |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | Object.defineProperty(CreateCollectionsError.prototype, 'name', { |
nothing calls this directly
no outgoing calls
no test coverage detected