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

Function createCapturedValue

code/dependency-injection/public/app.js:11076–11084  ·  view source on GitHub ↗
(value, source)

Source from the content-addressed store, hash-verified

11074};
11075
11076function createCapturedValue(value, source) {
11077 // If the value is an error, call this function immediately after it is thrown
11078 // so the stack is accurate.
11079 return {
11080 value: value,
11081 source: source,
11082 stack: getStackAddendumByWorkInProgressFiber(source)
11083 };
11084}
11085
11086var ReactFiberUnwindWork = function (hostContext, legacyContext, newContext, scheduleWork, isAlreadyFailedLegacyErrorBoundary) {
11087 var popHostContainer = hostContext.popHostContainer,

Callers 2

throwExceptionFunction · 0.70
scheduleCaptureFunction · 0.70

Tested by

no test coverage detected