MCPcopy Index your code
hub / github.com/Effect-TS/effect / HttpBodyError

Function HttpBodyError

packages/platform/src/internal/httpBody.ts:26–27  ·  view source on GitHub ↗
(reason: Body.ErrorReason)

Source from the content-addressed store, hash-verified

24
25/** @internal */
26export const HttpBodyError = (reason: Body.ErrorReason): Body.HttpBodyError =>
27 bodyError({ [ErrorTypeId]: ErrorTypeId, reason })
28
29abstract class BodyBase implements Body.HttpBody.Proto {
30 readonly [TypeId]: Body.TypeId

Callers 2

jsonFunction · 0.70
jsonSchemaFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected