Expand description
Structured error types with stable diagnostic codes and remediation hints.
The canonical list of every code is in codes::REGISTRY.
§V1-3 — Full structured error hierarchy
Every public error type in alkahest-core implements AlkahestError, which
provides three machine-readable fields in addition to the Display message:
code()— a stable&'static strlike"E-POLY-001". Suitable formatchin user code and dictionary look-up in tool integrations.remediation()— a human-readable fix suggestion, orNoneif the error is self-explanatory.span()— optional(start, end)byte offsets into a source string for IDE diagnostics.Noneuntil the parser is integrated.
Modules§
- codes
- Central registry of all stable diagnostic codes for alkahest-core.
Traits§
- Alkahest
Error - Core trait shared by every
alkahest-coreerror type.