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

Function transportError

packages/ui/native/src/NativeHttpClient.ts:171–174  ·  view source on GitHub ↗
(cause: unknown)

Source from the content-addressed store, hash-verified

169
170const client = HttpClient.make((request, url, signal, fiber) => {
171 const transportError = (cause: unknown) =>
172 new HttpClientError.HttpClientError({
173 reason: new HttpClientError.TransportError({ request, cause })
174 })
175 const encodeError = (
176 options: { readonly description: string } | { readonly cause: unknown }
177 ) =>

Callers 3

failFunction · 0.70
onAbortFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected