Exception: MCPClient::Errors::MCPError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mcp_client/errors.rb

Overview

Base error class for all MCP-related errors

Instance Method Summary collapse

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.

Returns:

  • (Boolean)


14
15
16
# File 'lib/mcp_client/errors.rb', line 14

def era_inconclusive?
  false
end