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

Function notFound

packages/platform/deno/src/DenoHttpServer.ts:75–75  ·  view source on GitHub ↗
(_request, _info)

Source from the content-addressed store, hash-verified

73 const scope = yield* Effect.scope
74 type Handler = (request: Request, info: Deno.ServeHandlerInfo<Deno.NetAddr | Deno.UnixAddr>) => Promise<Response>
75 const notFound: Handler = (_request, _info) => Promise.resolve(new Response("not found", { status: 404 }))
76 const handlerStack: Array<Handler> = [notFound]
77 let currentHandler = notFound
78 const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected