chore: add pre-built dist folder for npx usage

This commit is contained in:
thesved
2025-12-04 20:22:02 +02:00
committed by Romuald Członkowski
parent a70d96a373
commit 5057481e70
716 changed files with 48021 additions and 0 deletions

27
dist/utils/n8n-errors.d.ts vendored Normal file
View File

@@ -0,0 +1,27 @@
export declare class N8nApiError extends Error {
statusCode?: number | undefined;
code?: string | undefined;
details?: unknown | undefined;
constructor(message: string, statusCode?: number | undefined, code?: string | undefined, details?: unknown | undefined);
}
export declare class N8nAuthenticationError extends N8nApiError {
constructor(message?: string);
}
export declare class N8nNotFoundError extends N8nApiError {
constructor(resource: string, id?: string);
}
export declare class N8nValidationError extends N8nApiError {
constructor(message: string, details?: unknown);
}
export declare class N8nRateLimitError extends N8nApiError {
constructor(retryAfter?: number);
}
export declare class N8nServerError extends N8nApiError {
constructor(message?: string, statusCode?: number);
}
export declare function handleN8nApiError(error: unknown): N8nApiError;
export declare function formatExecutionError(executionId: string, workflowId?: string): string;
export declare function formatNoExecutionError(): string;
export declare function getUserFriendlyErrorMessage(error: N8nApiError): string;
export declare function logN8nError(error: N8nApiError, context?: string): void;
//# sourceMappingURL=n8n-errors.d.ts.map