UNPKG

auto-builder-sdk

Version:

SDK for building Auto Builder workflow plugins

23 lines (22 loc) 719 B
import type { INode, IDataObject } from './ab-types'; export declare class NodeOperationError extends Error { readonly description: string; readonly context?: IDataObject; constructor(node: INode, error: string | Error, options?: { message?: string; description?: string; runIndex?: number; itemIndex?: number; }); } export declare class NodeApiError extends Error { readonly httpStatusCode?: number; readonly errorMessage: string; readonly description?: string; readonly context?: IDataObject; constructor(node: INode, error: IDataObject, options?: { message?: string; description?: string; httpStatusCode?: number; }); }