Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

The codes the language boundary itself emits, and the workspace gates.

BIND is the one namespace with no Rust error type behind it: these are the failures a C entry point detects from an argument’s representation alone — a null pointer, bytes that are not UTF-8, a caught panic. A failure that needs powerio’s own vocabulary to detect (an unknown format name, an index the handle does not have) belongs to REQUEST and comes from the crate that owns the vocabulary.

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.
check_scope_ownership
Check that two crates do not claim the same NAMESPACE.SCOPE prefix.
registry
Every code this crate declares.