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

Function protocolDefect

packages/effect/src/rpc/RpcClient.ts:1142–1145  ·  view source on GitHub ↗
(message: string, cause: unknown)

Source from the content-addressed store, hash-verified

1140 reason: HttpClientErrorSchema.fromHttpClientError(cause)
1141 })
1142 const protocolDefect = (message: string, cause: unknown) =>
1143 new RpcClientError({
1144 reason: new RpcClientDefect({ message, cause })
1145 })
1146
1147 // Writes each response as it is decoded. Returns the ids of the requests left
1148 // without a terminal response, or `undefined` when the server sent no

Callers 2

makeHttpExchangeFunction · 0.85
requestExitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected