Exception: McpToolkit::Errors::Base

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mcp_toolkit/errors/base.rb

Overview

Tool-level errors raised by executors / auth and caught at the tool boundary, where they are turned into an isError: true MCP tool result (NOT a JSON-RPC protocol error). This matches how MCP clients (and a gateway relaying the satellite's result verbatim) expect tool failures to surface: the call succeeds at the protocol level, the result carries the error.

Base class for that family; subclasses below narrow the cause.

Direct Known Subclasses

ConfigurationError, InvalidParams, Unauthorized