UNPKG

n8n-nodes-arubacentral

Version:

n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities

28 lines (27 loc) 1.11 kB
import { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow'; /** * Handle API errors from Aruba Central * * @param this The n8n execution context * @param error The error that was caught * @param message Optional custom error message * @returns Never completes normally, always throws an error */ export declare function handleApiError(this: IExecuteFunctions, error: any, message?: string): never; /** * Handle validation errors * * @param this The n8n execution context * @param message Error message describing the validation failure * @returns Never completes normally, always throws an error */ export declare function handleValidationError(this: IExecuteFunctions, message: string): never; /** * Handle API errors while allowing execution to continue * * @param this The n8n execution context * @param error The error that was caught * @param message Optional custom error message * @returns Array with a single item containing error details */ export declare function handleApiErrorWithContinue(this: IExecuteFunctions, error: any, message?: string): INodeExecutionData[];