(error: unknown)
| 1774 | const isTransientError = (error: unknown) => Cause.isTimeoutError(error) || isTransientHttpError(error) |
| 1775 | |
| 1776 | const isTransientHttpError = (error: unknown) => |
| 1777 | Error.isHttpClientError(error) && |
| 1778 | (error.reason._tag === "TransportError" || |
| 1779 | (error.reason._tag === "StatusCodeError" && isTransientResponse(error.reason.response))) |
| 1780 | |
| 1781 | const isTooManyRequestsHttpClientError = ( |
| 1782 | error: unknown |
no test coverage detected