UNPKG

il2cpp-dump-analyzer-mcp

Version:

Agentic RAG system for analyzing IL2CPP dump.cs files from Unity games

33 lines 1.12 kB
"use strict"; /** * Error types and classes for MCP server operations * Separated from main server file to avoid circular dependencies */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MCPServerError = exports.ErrorType = void 0; /** * Error types for comprehensive error handling */ var ErrorType; (function (ErrorType) { ErrorType["INITIALIZATION_ERROR"] = "initialization_error"; ErrorType["VECTOR_STORE_ERROR"] = "vector_store_error"; ErrorType["TOOL_EXECUTION_ERROR"] = "tool_execution_error"; ErrorType["TRANSPORT_ERROR"] = "transport_error"; ErrorType["VALIDATION_ERROR"] = "validation_error"; ErrorType["RESOURCE_ERROR"] = "resource_error"; })(ErrorType || (exports.ErrorType = ErrorType = {})); /** * Custom error class for MCP server errors */ class MCPServerError extends Error { constructor(message, type, code, param) { super(message); this.type = type; this.code = code; this.param = param; this.name = 'MCPServerError'; } } exports.MCPServerError = MCPServerError; //# sourceMappingURL=error-types.js.map