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

Function fail

graph-ui/src/architecture/SourceEvidenceDrawer.tsx:56–58  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

54 useEffect(() => {
55 let alive = true;
56 const fail = (error: unknown) => {
57 if (alive) setReading({ key: readKey, error: error instanceof Error ? error.message : String(error) });
58 };
59 if (!project || !target.filePath || /[\x00-\x1f\x7f]/.test(target.filePath)) {
60 fail('Select a project and a valid repository file to inspect source evidence.');
61 return;

Callers 1

SourceEvidenceDrawerFunction · 0.70

Calls 1

setReadingFunction · 0.85

Tested by

no test coverage detected