* ParallelValidate Error constructor. * * @param {Document} doc * @api private
(doc)
| 15 | * @api private |
| 16 | */ |
| 17 | constructor(doc) { |
| 18 | const msg = 'Can\'t validate() the same doc multiple times in parallel. Document: '; |
| 19 | super(msg + doc._id); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | Object.defineProperty(ParallelValidateError.prototype, 'name', { |
nothing calls this directly
no outgoing calls
no test coverage detected