mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-07-15 09:27:20 +02:00
8 lines
205 B
TypeScript
8 lines
205 B
TypeScript
import { ApplicationError } from 'n8n-workflow';
|
|
|
|
export class TaskCancelledError extends ApplicationError {
|
|
constructor(reason: string) {
|
|
super(`Task cancelled: ${reason}`, { level: 'warning' });
|
|
}
|
|
}
|