Expand description
Caravan RPC error types.
Mirrors the Python SDK’s RpcRemoteError / RpcTransportError split.
Wire-version 1 keeps the error envelope simple: {ok: false, error: {code, message}} for logical failures; transport-level failures (timeout, 5xx,
malformed body) become RpcTransportError.
Structs§
- RpcRemote
Error - Logical failure returned by a peer in the
{ok: false, error: {...}}envelope. Thecodeis the originating exception class name (Python) or the Rust error’sDebugdiscriminant;messageis the user-visible message.
Enums§
- RpcError
- Top-level error returned from dispatcher helpers. Either the peer rejected the call logically, or the transport layer failed.
- RpcTransport
Error - Transport-level failure: connection refused, timeout, 5xx without an envelope body, malformed JSON, missing fields. Anything that prevents extracting a logical-failure envelope from the peer.