Exception: MCPClient::Errors::SessionChangedError
- Inherits:
-
ConnectionError
- Object
- StandardError
- MCPError
- ConnectionError
- MCPClient::Errors::SessionChangedError
- Defined in:
- lib/mcp_client/errors.rb
Overview
Raised when a request pinned to a server session (see JsonRpcCommon#pinned_to_session) reaches the wire after that session ended: nothing was written, so the caller may drop the payload. A subclass of ConnectionError so existing rescues treat it as the connection failure it is.