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