(err: unknown, errorInfo?: ErrorInfo)
| 43 | } |
| 44 | |
| 45 | function onShellError(err: unknown, errorInfo?: ErrorInfo) { |
| 46 | debugFlow('onShellError()') |
| 47 | state.didError = true |
| 48 | const errBetter = getErrorWithComponentStack(err, errorInfo) |
| 49 | if (state.firstErr === undefined) { |
| 50 | state.firstErr = errBetter |
| 51 | firstErrOriginal = err |
| 52 | } |
| 53 | logErr(err, errBetter) |
| 54 | } |
| 55 | // We intentionally swallow boundary errors, see https://github.com/brillout/react-streaming#error-handling |
| 56 | function onBoundaryError(err: unknown, errorInfo?: ErrorInfo) { |
| 57 | debugFlow('onBoundaryError()') |
nothing calls this directly
no test coverage detected
searching dependent graphs…