* Version Error constructor. * * @param {Document} doc * @param {Number} currentVersion * @param {Array } modifiedPaths * @api private
(doc, currentVersion, modifiedPaths)
| 16 | * @api private |
| 17 | */ |
| 18 | constructor(doc, currentVersion, modifiedPaths) { |
| 19 | const modifiedPathsStr = modifiedPaths.join(', '); |
| 20 | super('No matching document found for id "' + doc._id + |
| 21 | '" version ' + currentVersion + ' modifiedPaths "' + modifiedPathsStr + '"'); |
| 22 | this.version = currentVersion; |
| 23 | this.modifiedPaths = modifiedPaths; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected