MCPcopy Index your code
hub / github.com/react/react / onError

Function onError

packages/react-server-dom-esm/src/server/ReactFlightDOMServerNode.js:107–114  ·  view source on GitHub ↗
(error: mixed)

Source from the content-addressed store, hash-verified

105 stringBuffer = messages[messages.length - 1];
106 }
107 function onError(error: mixed) {
108 abort(
109 request,
110 new Error('Lost connection to the Debug Channel.', {
111 cause: error,
112 }),
113 );
114 }
115 function onClose() {
116 closeDebugChannel(request);
117 }

Callers 3

logRecoverableErrorFunction · 0.50
logRecoverableErrorFunction · 0.50

Calls 1

abortFunction · 0.90

Tested by

no test coverage detected