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

Function encodeError

packages/ui/native/src/NativeHttpClient.ts:175–180  ·  view source on GitHub ↗
(
    options: { readonly description: string } | { readonly cause: unknown }
  )

Source from the content-addressed store, hash-verified

173 reason: new HttpClientError.TransportError({ request, cause })
174 })
175 const encodeError = (
176 options: { readonly description: string } | { readonly cause: unknown }
177 ) =>
178 new HttpClientError.HttpClientError({
179 reason: new HttpClientError.EncodeError({ request, ...options })
180 })
181 const send = (data: any) =>
182 Effect.callback<
183 HttpClientResponse.HttpClientResponse,

Callers 2

handlerToHttpEffectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected