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

Function onError

graph-ui/src/app/ui-log-install.ts:177–188  ·  view source on GitHub ↗
(event: ErrorEvent)

Source from the content-addressed store, hash-verified

175 }
176
177 const onError = (event: ErrorEvent): void => {
178 guarded(() => {
179 const described = describeReason(event.error);
180 buffer.record('error', 'window', event.message.length > 0 ? event.message : described.message, {
181 project: getProject(),
182 stack: described.stack,
183 url: event.filename,
184 line: event.lineno,
185 col: event.colno,
186 });
187 });
188 };
189 const onRejection = (event: PromiseRejectionEvent): void => {
190 guarded(() => {
191 const described = describeReason(event.reason);

Callers

nothing calls this directly

Calls 3

guardedFunction · 0.85
describeReasonFunction · 0.85
recordMethod · 0.45

Tested by

no test coverage detected