(value, source)
| 10214 | }; |
| 10215 | |
| 10216 | function createCapturedValue(value, source) { |
| 10217 | // If the value is an error, call this function immediately after it is thrown |
| 10218 | // so the stack is accurate. |
| 10219 | return { |
| 10220 | value: value, |
| 10221 | source: source, |
| 10222 | stack: getStackAddendumByWorkInProgressFiber(source) |
| 10223 | }; |
| 10224 | } |
| 10225 | |
| 10226 | var ReactFiberUnwindWork = function (hostContext, legacyContext, newContext, scheduleWork, isAlreadyFailedLegacyErrorBoundary) { |
| 10227 | var popHostContainer = hostContext.popHostContainer, |
no test coverage detected