@dollhousemcp/mcp-server
Version:
DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.
28 lines • 1.06 kB
TypeScript
/**
* AutoLoadError - Structured error type for auto-load memory failures
*
* Provides detailed context about memory auto-load failures including:
* - Memory name that failed
* - Phase where failure occurred (load/validate/budget)
* - Descriptive error message
*
* Factory methods provide convenient creation for common scenarios.
*/
export declare class AutoLoadError extends Error {
readonly memoryName: string;
readonly phase: 'load' | 'validate' | 'budget';
constructor(message: string, memoryName: string, phase: 'load' | 'validate' | 'budget');
/**
* Create error for memory load failures
*/
static loadFailed(memoryName: string, reason: string): AutoLoadError;
/**
* Create error for memory validation failures
*/
static validationFailed(memoryName: string, reason: string): AutoLoadError;
/**
* Create error for budget constraint violations
*/
static budgetExceeded(memoryName: string, tokens: number, budget: number): AutoLoadError;
}
//# sourceMappingURL=AutoLoadError.d.ts.map