| 123456789101112131415 |
- export const WAITING_ERROR = 'bullmq:movedToWait';
- /**
- * WaitingError
- *
- * Error to be thrown when job is moved to wait or prioritized state
- * from job in active state.
- */
- export class WaitingError extends Error {
- constructor(message = WAITING_ERROR) {
- super(message);
- this.name = this.constructor.name;
- Object.setPrototypeOf(this, new.target.prototype);
- }
- }
- //# sourceMappingURL=waiting-error.js.map
|