MCPcopy Create free account
hub / github.com/ctrlplusb/vercel-node-server / constructor

Method constructor

src/index.ts:16–19  ·  view source on GitHub ↗
(statusCode: number, message: string)

Source from the content-addressed store, hash-verified

14 readonly statusCode: number;
15
16 constructor(statusCode: number, message: string) {
17 super(message);
18 this.statusCode = statusCode;
19 }
20}
21
22function getBodyParser(req: NowRequest, body: Buffer | string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected