MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / pushError

Function pushError

packages/frontend/src/ui/error-overlay.tsx:86–89  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

84 }
85
86 function pushError(error: unknown): void {
87 props.onError?.(error)
88 setErrors(current => [error, ...current])
89 }
90
91 props.catchWindowErrors && makeEventListener(window, 'error', pushError)
92 s.onError(pushError)

Callers 1

fallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…