@dev-fastn-ai/ucl-sdk
Version:
Fastn UCL SDK - A robust TypeScript SDK for integrating AI agents with Fastn UCL
29 lines • 1.1 kB
TypeScript
import type { UCLCoreError } from '../types';
export declare class UCLError extends Error implements UCLCoreError {
code: string;
statusCode?: number;
details?: any;
constructor(message: string, code: string, statusCode?: number, details?: any);
}
export declare class AuthenticationError extends UCLError {
constructor(message?: string, details?: any);
}
export declare class ConfigurationError extends UCLError {
constructor(message?: string, details?: any);
}
export declare class ToolNotFoundError extends UCLError {
constructor(toolName: string, details?: any);
}
export declare class ConnectorNotActiveError extends UCLError {
constructor(connectorName: string, details?: any);
}
export declare class MissingParametersError extends UCLError {
constructor(missingParams: string[], details?: any);
}
export declare class APIError extends UCLError {
constructor(message: string, statusCode: number, details?: any);
}
export declare class LLMError extends UCLError {
constructor(message: string, details?: any);
}
//# sourceMappingURL=errors.d.ts.map