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

Function createCapturedValue

code/communication/public/app.js:11018–11026  ·  view source on GitHub ↗
(value, source)

Source from the content-addressed store, hash-verified

11016};
11017
11018function createCapturedValue(value, source) {
11019 // If the value is an error, call this function immediately after it is thrown
11020 // so the stack is accurate.
11021 return {
11022 value: value,
11023 source: source,
11024 stack: getStackAddendumByWorkInProgressFiber(source)
11025 };
11026}
11027
11028var ReactFiberUnwindWork = function (hostContext, legacyContext, newContext, scheduleWork, isAlreadyFailedLegacyErrorBoundary) {
11029 var popHostContainer = hostContext.popHostContainer,

Callers 2

throwExceptionFunction · 0.70
scheduleCaptureFunction · 0.70

Tested by

no test coverage detected