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

Function createCapturedValue

code/redux/public/app.js:11234–11242  ·  view source on GitHub ↗
(value, source)

Source from the content-addressed store, hash-verified

11232};
11233
11234function createCapturedValue(value, source) {
11235 // If the value is an error, call this function immediately after it is thrown
11236 // so the stack is accurate.
11237 return {
11238 value: value,
11239 source: source,
11240 stack: getStackAddendumByWorkInProgressFiber(source)
11241 };
11242}
11243
11244var ReactFiberUnwindWork = function (hostContext, legacyContext, newContext, scheduleWork, isAlreadyFailedLegacyErrorBoundary) {
11245 var popHostContainer = hostContext.popHostContainer,

Callers 2

throwExceptionFunction · 0.70
scheduleCaptureFunction · 0.70

Tested by

no test coverage detected