n8n-workflow
Advanced tools
Comparing version 0.66.0 to 0.67.0
@@ -13,3 +13,5 @@ import { INode, JsonObject } from '.'; | ||
export declare class NodeOperationError extends NodeError { | ||
constructor(node: INode, error: Error | string); | ||
constructor(node: INode, error: Error | string, options?: { | ||
description: string; | ||
}); | ||
} | ||
@@ -16,0 +18,0 @@ export declare class NodeApiError extends NodeError { |
@@ -120,3 +120,3 @@ "use strict"; | ||
class NodeOperationError extends NodeError { | ||
constructor(node, error) { | ||
constructor(node, error, options) { | ||
if (typeof error === 'string') { | ||
@@ -126,2 +126,5 @@ error = new Error(error); | ||
super(node, error); | ||
if (options === null || options === void 0 ? void 0 : options.description) { | ||
this.description = options.description; | ||
} | ||
} | ||
@@ -128,0 +131,0 @@ } |
{ | ||
"name": "n8n-workflow", | ||
"version": "0.66.0", | ||
"version": "0.67.0", | ||
"description": "Workflow base code of n8n", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md", |
Sorry, the diff of this file is not supported yet
461725
7288