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

Function createCapturedValue

code/styling/public/app.js:10983–10991  ·  view source on GitHub ↗
(value, source)

Source from the content-addressed store, hash-verified

10981};
10982
10983function createCapturedValue(value, source) {
10984 // If the value is an error, call this function immediately after it is thrown
10985 // so the stack is accurate.
10986 return {
10987 value: value,
10988 source: source,
10989 stack: getStackAddendumByWorkInProgressFiber(source)
10990 };
10991}
10992
10993var ReactFiberUnwindWork = function (hostContext, legacyContext, newContext, scheduleWork, isAlreadyFailedLegacyErrorBoundary) {
10994 var popHostContainer = hostContext.popHostContainer,

Callers 2

throwExceptionFunction · 0.70
scheduleCaptureFunction · 0.70

Tested by

no test coverage detected