MCPcopy Create free account
hub / github.com/coderabbit214/bibliothecarius / constructor

Method constructor

web/libs/fetch.ts:6–13  ·  view source on GitHub ↗
(status: number, statusText: string, message: string, body: any)

Source from the content-addressed store, hash-verified

4 body?: any;
5
6 constructor(status: number, statusText: string, message: string, body: any) {
7 super(statusText);
8 this.status = status;
9 this.statusText = statusText;
10 this.message = message;
11 this.body = body;
12 Object.setPrototypeOf(this, HttpError.prototype);
13 }
14}
15
16export default async function fetcher<JSON = any>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected