MCPcopy Create free account
hub / github.com/plotly/dash / captureCommitPhaseErrorOnRoot

Function captureCommitPhaseErrorOnRoot

dash/deps/react-dom@18.3.1.js:27161–27171  ·  view source on GitHub ↗
(rootFiber, sourceFiber, error)

Source from the content-addressed store, hash-verified

27159 var onUncaughtError = prepareToThrowUncaughtError;
27160
27161 function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
27162 var errorInfo = createCapturedValueAtFiber(error, sourceFiber);
27163 var update = createRootErrorUpdate(rootFiber, errorInfo, SyncLane);
27164 var root = enqueueUpdate(rootFiber, update, SyncLane);
27165 var eventTime = requestEventTime();
27166
27167 if (root !== null) {
27168 markRootUpdated(root, SyncLane, eventTime);
27169 ensureRootIsScheduled(root, eventTime);
27170 }
27171 }
27172
27173 function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error$1) {
27174 {

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…