UNPKG

hataraku

Version:

An autonomous coding agent for building AI-powered development tools. The name "Hataraku" (働く) means "to work" in Japanese.

27 lines 814 B
/** * Error thrown when there's a problem executing an MCP tool */ export class McpToolError extends Error { serverName; toolName; originalError; constructor(serverName, toolName, originalError) { super(`Error executing ${serverName}/${toolName}: ${originalError.message}`); this.serverName = serverName; this.toolName = toolName; this.originalError = originalError; this.name = 'McpToolError'; } } /** * Error thrown when there's a problem with MCP configuration */ export class McpConfigError extends Error { originalError; constructor(message, originalError) { super(`MCP configuration error: ${message}`); this.originalError = originalError; this.name = 'McpConfigError'; } } //# sourceMappingURL=errors.js.map