MCPcopy Create free account
hub / github.com/Effect-TS/effect / isTransientError

Function isTransientError

packages/effect/src/unstable/http/HttpClient.ts:1774–1774  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

1772}
1773
1774const isTransientError = (error: unknown) => Cause.isTimeoutError(error) || isTransientHttpError(error)
1775
1776const isTransientHttpError = (error: unknown) =>
1777 Error.isHttpClientError(error) &&

Callers

nothing calls this directly

Calls 1

isTransientHttpErrorFunction · 0.85

Tested by

no test coverage detected