(rootFiber, sourceFiber, error)
| 14698 | return !1; |
| 14699 | } |
| 14700 | function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) { |
| 14701 | sourceFiber = createCapturedValueAtFiber(error, sourceFiber); |
| 14702 | sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2); |
| 14703 | rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2); |
| 14704 | null !== rootFiber && |
| 14705 | (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber)); |
| 14706 | } |
| 14707 | function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) { |
| 14708 | if (3 === sourceFiber.tag) |
| 14709 | captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error); |
no test coverage detected
searching dependent graphs…