// eslint-disable-next-line import/no-cycle import { ExecutionBaseError, INode } from '.'; /** * Class for instantiating an workflow activation error */ export class WorkflowActivationError extends ExecutionBaseError { node: INode | undefined; constructor(message: string, error: Error, node?: INode) { super(error); this.node = node; this.cause = error; this.message = message; } }