(err, num)
| 23 | } |
| 24 | |
| 25 | function onError(err, num) { |
| 26 | if (err.bail) { |
| 27 | bail(err); |
| 28 | return; |
| 29 | } |
| 30 | |
| 31 | if (!op.retry(err)) { |
| 32 | reject(op.mainError()); |
| 33 | } else if (options.onRetry) { |
| 34 | options.onRetry(err, num); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | function runAttempt(num) { |
| 39 | var val; |
no test coverage detected
searching dependent graphs…