Exception: MCPClient::Errors::RequestTimeoutError

Inherits:
TransportError show all
Defined in:
lib/mcp_client/errors.rb

Overview

Raised when a request exceeded its timeout without receiving a response. A subclass of TransportError so existing rescues keep working, but deliberately excluded from automatic retries: the request may still be executing server-side, so a blind re-send could run a non-idempotent operation twice (MCP lifecycle: on timeout the sender SHOULD cancel and stop waiting, not re-send).

Instance Method Summary collapse

Methods inherited from TransportError

#modern_protocol_error_for_probe?

Instance Method Details

#era_inconclusive? ⇒ Boolean

Returns no answer arrived at all, so no era was learned.

Returns:

  • (Boolean) —

    no answer arrived at all, so no era was learned



514
515
516
# File 'lib/mcp_client/errors.rb', line 514

def era_inconclusive?
  true
end