(value, source)
| 19602 | } |
| 19603 | |
| 19604 | function createCapturedValue(value, source) { |
| 19605 | // If the value is an error, call this function immediately after it is thrown |
| 19606 | // so the stack is accurate. |
| 19607 | return { |
| 19608 | value: value, |
| 19609 | source: source, |
| 19610 | stack: getStackByFiberInDevAndProd(source) |
| 19611 | }; |
| 19612 | } |
| 19613 | |
| 19614 | function logCapturedError(capturedError) { |
| 19615 |
no test coverage detected