Exception: Textus::MCP::ToolError
- Defined in:
- lib/textus/mcp/errors.rb
Overview
Tool execution failed (validation, authorization, IO). Wraps an underlying Textus::Error or generic StandardError.
Constant Summary collapse
- JSONRPC_CODE =
-32_000
Instance Attribute Summary
Attributes inherited from Error
#code, #details, #exit_code, #hint
Instance Method Summary collapse
-
#initialize(message, details: {}) ⇒ ToolError
constructor
A new instance of ToolError.
Methods inherited from Error
Constructor Details
#initialize(message, details: {}) ⇒ ToolError
Returns a new instance of ToolError.
27 28 29 |
# File 'lib/textus/mcp/errors.rb', line 27 def initialize(, details: {}) super("tool_error", , details: details) end |