MCPcopy Create free account
hub / github.com/dailydotdev/apps / constructor

Method constructor

packages/shared/src/lib/errors.ts:10–17  ·  view source on GitHub ↗
(url: string, status: number, response: string)

Source from the content-addressed store, hash-verified

8 public response: string;
9
10 constructor(url: string, status: number, response: string) {
11 super(`Unexpected status code: ${status}`);
12
13 this.name = 'HttpError';
14 this.url = url;
15 this.statusCode = status;
16 this.response = response;
17 }
18}
19
20export type GraphQLError = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected