No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

retries-exhausted-error.js 460B

1234567891011
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const task_error_1 = require("./task-error");
  4. class RetriesExhaustedError extends task_error_1.default {
  5. constructor(taskName, totalRetries, lastTrialError) {
  6. super(taskName, `retries exhausted after ${totalRetries + 1} attempts, with error: ${lastTrialError.message}`, {
  7. original: lastTrialError,
  8. });
  9. }
  10. }
  11. exports.default = RetriesExhaustedError;