n8n
Version:
n8n Workflow Automation Tool
8 lines (7 loc) • 407 B
TypeScript
import { StorageConfig } from 'n8n-core';
import { type ExecutionError, type INode, type IRun, type WorkflowExecuteMode } from 'n8n-workflow';
export declare class FailedRunFactory {
private readonly storageConfig;
constructor(storageConfig: StorageConfig);
generateFailedExecutionFromError(mode: WorkflowExecuteMode, error: ExecutionError, node: INode | undefined, startTime?: number): IRun;
}