Back to Eqiora docs Skip to main content

Module diagnostic

Module diagnostic 

Description

Engineering-aware diagnostics.

Every crate keeps its own internal Error type and converts to Diagnostic at its public boundary — a bare String error never crosses a public API. No C ABI is implemented. A future foreign ABI must use a versioned serialized buffer behind an opaque handle rather than treating the struct layout below as ABI.

Modules§

codes
Well-known diagnostic codes. EQ00xx = infrastructure, EQ01xx = graph, EQ02xx = ontology views, EQ03xx = semantic definitions, and EQ04xx = units and dimensions, EQ05xx = reference execution, and EQ08xx = numerical realization. Ranges are assigned in docs/diagnostics.md.

Structs§

Code
Stable diagnostic code (e.g. EQ0401).
Diagnostic
An engineering diagnostic.
GraphPath
Dot-separated path to the graph node that caused a diagnostic.
Patch
Machine-applicable fix shared by agents and Studio clients.
Span
Source location in an Eqiora Language file (byte offsets).

Enums§

Severity
Diagnostic severity.