MCPcopy Create free account
hub / github.com/vercel/vercel / send404

Method send404

packages/cli/src/util/dev/server.ts:1342–1348  ·  view source on GitHub ↗
(
    req: http.IncomingMessage,
    res: http.ServerResponse,
    requestId: string
  )

Source from the content-addressed store, hash-verified

1340 }
1341
1342 async send404(
1343 req: http.IncomingMessage,
1344 res: http.ServerResponse,
1345 requestId: string
1346 ): Promise<void> {
1347 return this.sendError(req, res, requestId, 'NOT_FOUND', 404);
1348 }
1349
1350 async sendError(
1351 req: http.IncomingMessage,

Callers 1

DevServerClass · 0.95

Calls 1

sendErrorMethod · 0.95

Tested by

no test coverage detected