(error: unknown)
| 290 | } |
| 291 | |
| 292 | function getErrorMessage(error: unknown): string | undefined { |
| 293 | return stringValue(asRecord(error)?.message) |
| 294 | } |
| 295 | |
| 296 | export function formatHttpRequestError(error: unknown): string { |
| 297 | const candidates = collectErrorCandidates(error) |
no test coverage detected