Exception: MCPClient::Errors::MCPError
- Inherits:
-
StandardError
- Object
- StandardError
- MCPClient::Errors::MCPError
- Defined in:
- lib/mcp_client/errors.rb
Overview
Base error class for all MCP-related errors
Direct Known Subclasses
AmbiguousPromptName, AmbiguousResourceURI, AmbiguousToolName, CapabilityError, ConnectionError, PromptGetError, PromptNotFound, ResourceNotFound, ResourceReadError, ServerError, ServerNotFound, TaskError, TaskNotFound, ToolCallError, ToolNotFound, TransportDetectionError, TransportError, ValidationError
Instance Method Summary collapse
-
#era_inconclusive? ⇒ Boolean
Whether this failure left the request/response exchange incomplete — a broken response stream, a timeout, an HTTP 5xx, an oversized body.
Instance Method Details
#era_inconclusive? ⇒ Boolean
Whether this failure left the request/response exchange incomplete — a broken response stream, a timeout, an HTTP 5xx, an oversized body. Such a failure says nothing about which protocol era the server implements, so the server/discover probe re-raises it instead of recording a (cached, permanent) legacy verdict.
14 15 16 |
# File 'lib/mcp_client/errors.rb', line 14 def era_inconclusive? false end |