Exception: SolidLoop::Mcp::Toolset::PublicToolError
- Inherits:
-
StandardError
- Object
- StandardError
- SolidLoop::Mcp::Toolset::PublicToolError
- Defined in:
- lib/solid_loop/mcp/toolset.rb
Overview
Raised inside a tool handler to return an intentional, user-facing message to the caller (passed through verbatim in the isError result). Any OTHER StandardError is treated as an internal fault: it is logged server-side and the caller gets an opaque message, so SQL/paths/tenant detail never leak across the public boundary. See handle_tools_call.