local-agent
Version:
A CLI agentic system for orchestrating tools and memory with per-folder scoping
37 lines • 1.1 kB
TypeScript
/**
* @fileoverview
* Application error classes for structured error handling.
*/
/**
* Base application error class with error codes and recovery information.
*/
export declare class ApplicationError extends Error {
readonly code: string;
readonly recoverable: boolean;
constructor(message: string, code: string, recoverable?: boolean);
}
/**
* Configuration-related errors (missing files, invalid format, etc.).
*/
export declare class ConfigurationError extends ApplicationError {
constructor(message: string);
}
/**
* AI provider-related errors (unavailable provider, API issues, etc.).
*/
export declare class ProviderError extends ApplicationError {
constructor(message: string);
}
/**
* MCP tool-related errors (tool loading, execution failures, etc.).
*/
export declare class ToolError extends ApplicationError {
constructor(message: string);
}
/**
* Session management errors (file I/O, memory issues, etc.).
*/
export declare class SessionError extends ApplicationError {
constructor(message: string);
}
//# sourceMappingURL=application-error.d.ts.map