il2cpp-dump-analyzer-mcp
Version:
Agentic RAG system for analyzing IL2CPP dump.cs files from Unity games
25 lines (24 loc) • 784 B
TypeScript
/**
* Error types and classes for MCP server operations
* Separated from main server file to avoid circular dependencies
*/
/**
* Error types for comprehensive error handling
*/
export declare enum ErrorType {
INITIALIZATION_ERROR = "initialization_error",
VECTOR_STORE_ERROR = "vector_store_error",
TOOL_EXECUTION_ERROR = "tool_execution_error",
TRANSPORT_ERROR = "transport_error",
VALIDATION_ERROR = "validation_error",
RESOURCE_ERROR = "resource_error"
}
/**
* Custom error class for MCP server errors
*/
export declare class MCPServerError extends Error {
type: ErrorType;
code?: string | undefined;
param?: string | undefined;
constructor(message: string, type: ErrorType, code?: string | undefined, param?: string | undefined);
}