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

Function fallback

packages/frontend/src/ui/error-overlay.tsx:106–124  ·  view source on GitHub ↗
(err, reset)

Source from the content-addressed store, hash-verified

104 return [
105 s.ErrorBoundary({
106 fallback(err, reset) {
107 s.batch(() => {
108 setFallback(true)
109 pushError(err)
110 })
111
112 return s.untrack(() =>
113 ErrorOverlayInternal(
114 s.mergeProps(errorOverlayInternalProps, {
115 resetError() {
116 s.batch(() => {
117 resetError()
118 reset()
119 })
120 },
121 }),
122 ),
123 )
124 },
125 get children() {
126 return props.children
127 },

Callers 1

whenFunction · 0.85

Calls 2

pushErrorFunction · 0.85
ErrorOverlayInternalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…