@embedpdf/models 1.0.26 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -458,12 +458,14 @@ class TaskAbortedError extends Error {
458
458
  constructor(reason) {
459
459
  super(`Task aborted: ${JSON.stringify(reason)}`);
460
460
  this.name = "TaskAbortedError";
461
+ this.reason = reason;
461
462
  }
462
463
  }
463
464
  class TaskRejectedError extends Error {
464
465
  constructor(reason) {
465
466
  super(`Task rejected: ${JSON.stringify(reason)}`);
466
467
  this.name = "TaskRejectedError";
468
+ this.reason = reason;
467
469
  }
468
470
  }
469
471
  class Task {