MCPcopy Index your code
hub / github.com/plotly/dash / captureCommitPhaseErrorOnRoot

Function captureCommitPhaseErrorOnRoot

dash/deps/react-dom@18.2.0.js:27122–27132  ·  view source on GitHub ↗
(rootFiber, sourceFiber, error)

Source from the content-addressed store, hash-verified

27120 var onUncaughtError = prepareToThrowUncaughtError;
27121
27122 function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
27123 var errorInfo = createCapturedValueAtFiber(error, sourceFiber);
27124 var update = createRootErrorUpdate(rootFiber, errorInfo, SyncLane);
27125 var root = enqueueUpdate(rootFiber, update, SyncLane);
27126 var eventTime = requestEventTime();
27127
27128 if (root !== null) {
27129 markRootUpdated(root, SyncLane, eventTime);
27130 ensureRootIsScheduled(root, eventTime);
27131 }
27132 }
27133
27134 function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error$1) {
27135 {

Callers 1

captureCommitPhaseErrorFunction · 0.70

Calls 6

createRootErrorUpdateFunction · 0.70
enqueueUpdateFunction · 0.70
requestEventTimeFunction · 0.70
markRootUpdatedFunction · 0.70
ensureRootIsScheduledFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…