@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.
29 lines • 1.43 kB
TypeScript
/**
* Error codes for collection submission process
* Implements detailed error tracking as specified in Issue #785
*/
export declare enum CollectionErrorCode {
COLL_AUTH_001 = "COLL_AUTH_001",// Token validation failed
COLL_AUTH_002 = "COLL_AUTH_002",// Token missing 'public_repo' scope
COLL_AUTH_003 = "COLL_AUTH_003",// OAuth helper not running
COLL_AUTH_004 = "COLL_AUTH_004",// Token expired during operation
COLL_API_001 = "COLL_API_001",// Rate limit exceeded
COLL_API_002 = "COLL_API_002",// Repository not found
COLL_API_003 = "COLL_API_003",// Issue creation failed
COLL_API_004 = "COLL_API_004",// Network timeout
COLL_CFG_001 = "COLL_CFG_001",// Auto-submit disabled
COLL_CFG_002 = "COLL_CFG_002",// Collection repo not configured
COLL_VAL_001 = "COLL_VAL_001",// Invalid element format
COLL_VAL_002 = "COLL_VAL_002"
}
export declare const CollectionErrorMessages: Record<CollectionErrorCode, string>;
export declare const CollectionErrorSolutions: Record<CollectionErrorCode, string>;
/**
* Format a collection error for user display
* @param code The error code
* @param step Current step number
* @param totalSteps Total number of steps
* @param details Additional error details
*/
export declare function formatCollectionError(code: CollectionErrorCode, step: number, totalSteps: number, details?: string): string;
//# sourceMappingURL=error-codes.d.ts.map