UNPKG

@gluneau/hive-mcp-server

Version:

An MCP server that enables AI assistants to interact with the Hive blockchain

13 lines 416 B
"use strict"; // Error handling utilities Object.defineProperty(exports, "__esModule", { value: true }); exports.handleError = handleError; // Handle errors consistently function handleError(error, context) { const errorMessage = error instanceof Error ? error.message : String(error); return `Error in ${context}: ${errorMessage}`; } exports.default = { handleError, }; //# sourceMappingURL=error.js.map