(reporter: FrontendErrorReporter)
| 125 | /** Wraps a reporter so it can only ever be handed a titled `Error`. */ |
| 126 | const normalizing = |
| 127 | (reporter: FrontendErrorReporter): FrontendErrorReporter => |
| 128 | (error, context) => { |
| 129 | reporter(toReportableError(error, context), context); |
| 130 | }; |
| 131 | |
| 132 | // --------------------------------------------------------------------------- |
| 133 | // Reporters |
no test coverage detected