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

Function reportError

graph-ui/src/provider/error-observer.ts:50–58  ·  view source on GitHub ↗
(report: ErrorReport)

Source from the content-addressed store, hash-verified

48
49/** Announce a report to every listener. Never throws. */
50export function reportError(report: ErrorReport): void {
51 for (const listener of listeners) {
52 try {
53 listener(report);
54 } catch {
55 /* A listener that fails must not turn one error into two. */
56 }
57 }
58}
59
60/** The stack of an unknown thrown value, when it has one. */
61export function stackOf(error: unknown): string | undefined {

Callers 5

notReadableFunction · 0.90
announceFunction · 0.90
announceFailureFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected