Expand description
Typed error envelope used by every cloud HTTP response, MCP tool result, and CLI exit-with-error path.
Spec: FR-030, Constitution V. The wire shape is intentionally additive — new
context keys do NOT break old callers — and every variant ships a human-
readable remediation field telling the caller exactly what to do next.
Structs§
- Error
- The wire-format error envelope:
{ error: { code, message, remediation, context } }. - Error
Builder - Builder for
Error. Forcesmessage+remediationto be set by panicking inbuild()if either is missing — every constructable error MUST be actionable.
Enums§
- Error
Code - Canonical machine-readable error codes.
Type Aliases§
- Error
Context - Per-error free-form context map.
- Result
- Crate-local
Resultalias parameterized on the typedError.