(error: unknown)
| 73 | ]); |
| 74 | |
| 75 | function providerErrorTarget(error: unknown): unknown { |
| 76 | return RetryError.isInstance(error) && error.lastError !== undefined && error.lastError !== error |
| 77 | ? error.lastError |
| 78 | : error; |
| 79 | } |
| 80 | |
| 81 | function responseHeadersFromError(error: unknown): Record<string, string> | undefined { |
| 82 | if (typeof error !== 'object' || error === null) return undefined; |
no outgoing calls
no test coverage detected