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

Function isHttpClientError

packages/effect/src/unstable/http/HttpClientError.ts:26–26  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

24 * @since 4.0.0
25 */
26export const isHttpClientError = (u: unknown): u is HttpClientError => hasProperty(u, TypeId)
27
28/**
29 * Error wrapper for HTTP client failures, exposing the failed request and the optional response through its `reason`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected