mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
14 lines
345 B
TypeScript
14 lines
345 B
TypeScript
import { ApplicationError } from 'n8n-workflow';
|
|
|
|
/**
|
|
* @docs https://docs.bullmq.io/guide/workers/stalled-jobs
|
|
*/
|
|
export class MaxStalledCountError extends ApplicationError {
|
|
constructor(cause: Error) {
|
|
super('The execution has reached the maximum number of attempts and will no longer retry.', {
|
|
level: 'warning',
|
|
cause,
|
|
});
|
|
}
|
|
}
|