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

Method isRetryable

packages/effect/src/unstable/ai/AiError.ts:99–101  ·  view source on GitHub ↗

* Transport errors are retryable; encoding and URL errors are not. * * @since 4.0.0

()

Source from the content-addressed store, hash-verified

97 * @since 4.0.0
98 */
99 get isRetryable(): boolean {
100 return this.reason === "TransportError"
101 }
102
103 /**
104 * Creates a NetworkError from a platform HttpClientError.RequestError.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected