(reporter: FrontendErrorReporter)
| 116 | /** Wraps a reporter so it can only ever be handed a titled `Error`. */ |
| 117 | const normalizing = |
| 118 | (reporter: FrontendErrorReporter): FrontendErrorReporter => |
| 119 | (error, context) => { |
| 120 | reporter(toReportableError(error, context), context); |
| 121 | }; |
| 122 | |
| 123 | // --------------------------------------------------------------------------- |
| 124 | // Reporters |
no test coverage detected