MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / errorBadge

Function errorBadge

packages/core/src/widgets/debugPanel.ts:250–253  ·  view source on GitHub ↗
(errorCount: number)

Source from the content-addressed store, hash-verified

248 * Shows a red badge when there are errors.
249 */
250export function errorBadge(errorCount: number): VNode | null {
251 if (errorCount === 0) return null;
252 return ui.text(`! ${errorCount} error${errorCount > 1 ? "s" : ""}`, { style: ERROR_STYLE });
253}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected