Expand description
RETURNS-36: a peer on plexus-wire’s spec as main wrote it, read as 0.8.
RETURNS-36 · a peer on plexus-wire’s spec as main wrote it (spec/03, 05),
read into 0.8’s shapes — one rule for the client and plexus-core’s child
seam (its remote_child::peer), never guessed from anything the peer did
not say:
- a progress frame without
contentis the default progress type, aNote:{message, percentage}; - an error frame without
erroris typed from its spec/05 fields (remote_error): byerror_kind, else bycode—-32601not found,-32602invalid params,-32001unauthenticated,-32003forbidden — a kind this build does not know kept whole (RemoteError::Other), and nothing named the method failing.
A 0.8 frame is never rewritten: each rule fills only what the peer left out, and a reader asks only when a frame did not read as 0.8.
Functions§
- item
- A stream item that did not read as 0.8, in 0.8’s shape: a progress frame
without
content, an error frame withouterror.Nonefor anything else (it stays unreadable, as it was). - remote_
error - spec/05’s error fields as the typed
RemoteErrorthey say.