class

MCP::MCPToolError

Inherits MCP::MCPError < Exception < Reference < Object

Exception raised when a tool call fails.

Constructors

new(message : String, error : MCP::Error | Nil = nil)
Source

Instance methods

error_code
Source