Exception: MCPClient::Errors::ResponseTooLargeError

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

Overview

Raised when a response body exceeded the configured size limit (e.g. a gzip payload that expands past the decompression ceiling). A subclass of TransportError so existing rescues keep working, but deliberately excluded from automatic retries: the server already received and processed the request, so re-sending it could run a non-idempotent operation again — and would decompress the oversized body each time.

Instance Method Summary collapse

Methods inherited from TransportError

#modern_protocol_error_for_probe?

Instance Method Details

#era_inconclusive? ⇒ Boolean

Returns the body was never decoded, so it was never read as a modern or a legacy answer.

Returns:

  • (Boolean) —

    the body was never decoded, so it was never read as a modern or a legacy answer



543
544
545
# File 'lib/mcp_client/errors.rb', line 543

def era_inconclusive?
  true
end