Exception: MCP::Client::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- MCP::Client::ValidationError
- Defined in:
- lib/mcp/client.rb
Overview
Raised when a server response fails client-side validation, e.g., a success response whose ‘result` field is missing or has the wrong type. This is distinct from a server-returned JSON-RPC error, which is raised as `ServerError`.