mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-09-04 17:46:34 +02:00
Co-authored-by: Iván Ovejero <ivov.src@gmail.com> Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
10 lines
269 B
TypeScript
10 lines
269 B
TypeScript
import { ApplicationError } from 'n8n-workflow';
|
|
|
|
export class TaskRejectError extends ApplicationError {
|
|
constructor(public reason: string) {
|
|
super(`Task rejected with reason: ${reason}`, { level: 'info' });
|
|
}
|
|
}
|
|
|
|
export class TaskError extends ApplicationError {}
|