Expand description
Cross-process error catalog.
AgentMuxError is the single typed error returned by RPC handlers
and surfaced to the frontend. Each variant carries a stable
AmxCode (e.g. AMX-IO-001) so the renderer’s translation table
can look up a user-friendly message + recovery hint without
caring about the wire-format details.
See docs/specs/SPEC_ERROR_CATALOG_2026_05_17.md for the full
design and migration plan.
Enums§
- Agent
MuxError - The typed error returned by RPC handlers. Serializes to:
{ "code": "AMX-IO-001", "message": "device out of space ...", "details": { ... } } - AmxCode
- Stable string codes shipped to the frontend. The variant name in
AgentMuxErroris for Rust callers; the&'static strreturned byAmxCode::as_str()is the contract with the catalog atfrontend/app/errors/catalog.ts.