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

24
dist/utils/error-handler.d.ts vendored Normal file
View File

@@ -0,0 +1,24 @@
export declare class MCPError extends Error {
code: string;
statusCode?: number;
data?: any;
constructor(message: string, code: string, statusCode?: number, data?: any);
}
export declare class N8NConnectionError extends MCPError {
constructor(message: string, data?: any);
}
export declare class AuthenticationError extends MCPError {
constructor(message?: string);
}
export declare class ValidationError extends MCPError {
constructor(message: string, data?: any);
}
export declare class ToolNotFoundError extends MCPError {
constructor(toolName: string);
}
export declare class ResourceNotFoundError extends MCPError {
constructor(resourceUri: string);
}
export declare function handleError(error: any): MCPError;
export declare function withErrorHandling<T>(operation: () => Promise<T>, context: string): Promise<T>;
//# sourceMappingURL=error-handler.d.ts.map