n8n/packages/workflow/src/errors/execution-cancelled.error.ts
कारतोफ्फेलस्क्रिप्ट™ 36b314d031
fix(core): Stopping an execution should reject any response promises (#9992)
2024-07-16 19:25:20 +02:00

11 lines
273 B
TypeScript

import { ExecutionBaseError } from './abstract/execution-base.error';
export class ExecutionCancelledError extends ExecutionBaseError {
constructor(executionId: string) {
super('The execution was cancelled', {
level: 'warning',
extra: { executionId },
});
}
}