Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

The codes this crate emits.

The record, the code grammar, and the severity ladder live in powerio-core; the entries here are the matrix, sensitivity, and dataset side of the workspace registry. A hub failure that arrives through crate::Error::Transmission keeps the hub’s own code.

Modules§

codes

Structs§

Diagnostic
One coded user facing finding.
DiagnosticInfo
One entry in a crate’s diagnostic registry.

Enums§

DiagnosticSeverity
Severity of one user facing finding.

Functions§

check_registry
Check grammar, namespace, uniqueness, summaries, and fatal category data.
registry
Every code this crate declares.
render_diagnostic
render_diagnostics