MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / createCapturedValue

Function createCapturedValue

code/composition/public/app.js:11121–11129  ·  view source on GitHub ↗
(value, source)

Source from the content-addressed store, hash-verified

11119};
11120
11121function createCapturedValue(value, source) {
11122 // If the value is an error, call this function immediately after it is thrown
11123 // so the stack is accurate.
11124 return {
11125 value: value,
11126 source: source,
11127 stack: getStackAddendumByWorkInProgressFiber(source)
11128 };
11129}
11130
11131var ReactFiberUnwindWork = function (hostContext, legacyContext, newContext, scheduleWork, isAlreadyFailedLegacyErrorBoundary) {
11132 var popHostContainer = hostContext.popHostContainer,

Callers 2

throwExceptionFunction · 0.70
scheduleCaptureFunction · 0.70

Tested by

no test coverage detected