bullmq
Version:
Queue for messages and jobs based on Redis
16 lines • 490 B
JavaScript
export const WAITING_CHILDREN_ERROR = 'bullmq:movedToWaitingChildren';
/**
* WaitingChildrenError
*
* Error to be thrown when job is moved to waiting-children state
* from job in active state.
*
*/
export class WaitingChildrenError extends Error {
constructor(message = WAITING_CHILDREN_ERROR) {
super(message);
this.name = this.constructor.name;
Object.setPrototypeOf(this, new.target.prototype);
}
}
//# sourceMappingURL=waiting-children-error.js.map