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

Function onShellError

fixtures/flight/server/global.js:194–202  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

192 pipe(res);
193 },
194 onShellError(error) {
195 const {pipe: pipeError} = renderToPipeableStream(
196 React.createElement('html', null, React.createElement('body')),
197 {
198 bootstrapScripts: mainJSChunks,
199 }
200 );
201 pipeError(res);
202 },
203 });
204 } catch (e) {
205 console.error(`Failed to SSR: ${e.stack}`);

Callers

nothing calls this directly

Calls 1

renderToPipeableStreamFunction · 0.50

Tested by

no test coverage detected