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

Function invalidStatusError

packages/platform/node/src/NodeHttpServer.ts:1114–1114  ·  view source on GitHub ↗
(status: number)

Source from the content-addressed store, hash-verified

1112const internalServerError = Response.empty({ status: 500 })
1113
1114const invalidStatusError = (status: number) => new RangeError(`Invalid final response status: ${status}`)
1115
1116const writeHead = (
1117 nodeResponse: Http.ServerResponse,

Callers 2

writeHeadFunction · 0.85
handleCauseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected