mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
14 lines
403 B
TypeScript
14 lines
403 B
TypeScript
|
import { ApplicationError } from 'n8n-workflow';
|
||
|
|
||
|
/**
|
||
|
* See https://github.com/OptimalBits/bull/blob/60fa88f08637f0325639988a3f054880a04ce402/docs/README.md?plain=1#L133
|
||
|
*/
|
||
|
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,
|
||
|
});
|
||
|
}
|
||
|
}
|