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

Function emptyResponseError

packages/effect/src/unstable/rpc/RpcClient.ts:892–893  ·  view source on GitHub ↗
(request: FromClientEncoded)

Source from the content-addressed store, hash-verified

890 reason: new RpcClientDefect({ message, cause })
891 })
892 const emptyResponseError = (request: FromClientEncoded) =>
893 protocolDefect("Received empty HTTP response from RPC server", request)
894 const incompleteResponseError = (request: FromClientEncoded) =>
895 protocolDefect("HTTP response ended before RPC request completed", request)
896

Callers 1

makeProtocolHttpFunction · 0.85

Calls 1

protocolDefectFunction · 0.85

Tested by

no test coverage detected