Expand description
The codes this crate emits.
The record itself lives in powerio-core, below this crate and below the
.pio.json document model, so a distribution finding reaches a package
without a translation step. What lives here is the distribution side
registry: one DiagnosticInfo per code, declared once, so an emission
site names an entry rather than a loose string.
Codes are families, not one per site: what differs between two sites of a
family is which object or property it was, which belongs in details.
Modules§
Structs§
- Diagnostic
- One coded user facing finding.
- Diagnostic
Code - Stable dotted identity of one diagnostic.
- Diagnostic
Info - One entry in a crate’s diagnostic registry.
Enums§
- Diagnostic
Severity - Severity of one user facing finding.
- Diagnostic
Stage - Pipeline stage encoded by the first segment of a diagnostic code.
Functions§
- check_
registry - Check grammar, namespace, uniqueness, summaries, and fatal category data.
- registry
- Every code this crate declares.
- render_
diagnostic - render_
diagnostics