MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / failureText

Function failureText

graph-ui/src/system/IndexesPanel.tsx:20–20  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

18}
19
20const failureText = (error: unknown) => error instanceof Error ? error.message : String(error);
21const booleanText = (value: string | null | undefined) => value === 'true' ? 'On' : value === 'false' ? 'Off' : 'Unknown';
22const watcherText = (health: ProjectHealth | null, failed: boolean) => {
23 if (failed || health?.watchRegistered == null || health.watcherRunning == null) return 'Unknown';

Callers 2

changeFunction · 0.85
workerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected