| 12345678910111213141516 |
- export const UNRECOVERABLE_ERROR = 'bullmq:unrecoverable';
- /**
- * UnrecoverableError
- *
- * Error to move a job to failed even if the attemptsMade
- * are lower than the expected limit.
- *
- */
- export class UnrecoverableError extends Error {
- constructor(message = UNRECOVERABLE_ERROR) {
- super(message);
- this.name = this.constructor.name;
- Object.setPrototypeOf(this, new.target.prototype);
- }
- }
- //# sourceMappingURL=unrecoverable-error.js.map
|