vibe-tools
Version:
CLI tools for AI agents
37 lines (36 loc) • 1.45 kB
TypeScript
import { Provider } from './types';
export declare class CursorToolsError extends Error {
readonly details?: unknown | undefined;
constructor(message: string, details?: unknown | undefined);
formatUserMessage(debug?: boolean): string;
}
export declare class ProviderError extends CursorToolsError {
constructor(message: string, details?: unknown);
}
export declare class ApiKeyMissingError extends ProviderError {
constructor(provider: string);
}
export declare class ModelNotFoundError extends ProviderError {
constructor(provider: Provider, availableModels: Set<string> | null, additionalMessage?: string);
}
export declare class NetworkError extends ProviderError {
constructor(message: string, details?: unknown);
}
export declare class GeminiRecitationError extends ProviderError {
constructor(message?: string);
}
export declare class FileError extends CursorToolsError {
constructor(message: string, details?: unknown);
}
export declare class TestError extends CursorToolsError {
constructor(message: string, details?: unknown);
}
export declare class FeatureFileParseError extends TestError {
constructor(filePath: string, details?: unknown);
}
export declare class TestExecutionError extends TestError {
constructor(message: string, details?: unknown);
}
export declare class TestTimeoutError extends TestError {
constructor(scenario: string, timeoutSeconds: number, details?: unknown);
}