refactor(core): Emit different error for issue in execution or trigger
This commit is contained in:
@@ -591,13 +591,20 @@ export interface ITransferNodeTypes {
|
||||
}
|
||||
|
||||
export interface IWorkflowErrorData {
|
||||
[key: string]: IDataObject | string | number | ExecutionError;
|
||||
execution: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
[key: string]: any;
|
||||
execution?: {
|
||||
id?: string;
|
||||
url?: string;
|
||||
retryOf?: string;
|
||||
error: ExecutionError;
|
||||
lastNodeExecuted: string;
|
||||
mode: WorkflowExecuteMode;
|
||||
};
|
||||
trigger?: {
|
||||
error: ExecutionError;
|
||||
mode: WorkflowExecuteMode;
|
||||
};
|
||||
workflow: {
|
||||
id?: string;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user