Expand description
The two error layers a Plexus client sees, kept apart by type.
The wire has two independent failure modes and conflating them is the bug this split exists to prevent:
| Layer | Meaning | Type |
|---|---|---|
| transport | the connection/HTTP call failed; nothing was said about the request | TransportError |
| in-band | the server answered, and the answer is an error item | ClientError::Remote |
menger/web/index.html distinguishes these by depth
(item.type === "error" vs item.content.type === "error"); here the
distinction is in the type system instead.
Structs§
- Transport
Error - A failure of the transport itself — the request never got an answer, or the answer was unintelligible.
Enums§
- Client
Error - Everything that can go wrong on a typed client call.
- Transport
Error Kind - What kind of transport failure occurred.