Exception: MCPClient::Errors::ResponseTooLargeError
- Inherits:
-
TransportError
- Object
- StandardError
- MCPError
- TransportError
- MCPClient::Errors::ResponseTooLargeError
- 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.