MCPcopy Index your code
hub / github.com/caseywebdev/react-list / logCaughtError

Function logCaughtError

docs/index.js:8709–8721  ·  view source on GitHub ↗
(root, boundary, errorInfo)

Source from the content-addressed store, hash-verified

8707 }
8708}
8709function logCaughtError(root, boundary, errorInfo) {
8710 try {
8711 var onCaughtError = root.onCaughtError;
8712 onCaughtError(errorInfo.value, {
8713 componentStack: errorInfo.stack,
8714 errorBoundary: 1 === boundary.tag ? boundary.stateNode : null
8715 });
8716 } catch (e$69) {
8717 setTimeout(function () {
8718 throw e$69;
8719 });
8720 }
8721}
8722function createRootErrorUpdate(root, errorInfo, lane) {
8723 lane = createUpdate(lane);
8724 lane.tag = 3;

Callers 1

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…