File size: 291 Bytes
aec3094
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import type { Workflow, IWorkflowBase } from 'n8n-workflow';
import { UnexpectedError } from 'n8n-workflow';

export class WorkflowMissingIdError extends UnexpectedError {
	constructor(workflow: Workflow | IWorkflowBase) {
		super('Detected ID-less worklfow', { extra: { workflow } });
	}
}