MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / createCapturedValue

Function createCapturedValue

code/third-party/public/app.js:10216–10224  ·  view source on GitHub ↗
(value, source)

Source from the content-addressed store, hash-verified

10214};
10215
10216function createCapturedValue(value, source) {
10217 // If the value is an error, call this function immediately after it is thrown
10218 // so the stack is accurate.
10219 return {
10220 value: value,
10221 source: source,
10222 stack: getStackAddendumByWorkInProgressFiber(source)
10223 };
10224}
10225
10226var ReactFiberUnwindWork = function (hostContext, legacyContext, newContext, scheduleWork, isAlreadyFailedLegacyErrorBoundary) {
10227 var popHostContainer = hostContext.popHostContainer,

Callers 2

throwExceptionFunction · 0.70
scheduleCaptureFunction · 0.70

Tested by

no test coverage detected