Structured, report-safe diagnostic returned by optional runtime setup paths.
Diagnostics keep a stable machine-readable code while giving callers an actionable message and remediation. They never contain analyzed source text.
Summary
Functions
Returns the stable diagnostic codes supported by public setup boundaries.
Returns a concise human-readable diagnostic without rendering the nested cause.
Builds a diagnostic with a default remediation for the code.
Converts common legacy reasons into a structured diagnostic.
Returns the default remediation for a diagnostic code.
Converts a diagnostic to a JSON-safe map without path or nested-cause data.
Types
Functions
@spec codes() :: [atom()]
Returns the stable diagnostic codes supported by public setup boundaries.
Returns a concise human-readable diagnostic without rendering the nested cause.
Builds a diagnostic with a default remediation for the code.
Converts common legacy reasons into a structured diagnostic.
Returns the default remediation for a diagnostic code.
Converts a diagnostic to a JSON-safe map without path or nested-cause data.