MCPcopy Create free account
hub / github.com/analogdotnow/Analog / constructor

Method constructor

packages/google-tasks/src/core/error.ts:19–29  ·  view source on GitHub ↗
(
    status: TStatus,
    error: TError,
    message: string | undefined,
    headers: THeaders,
  )

Source from the content-addressed store, hash-verified

17 readonly error: TError;
18
19 constructor(
20 status: TStatus,
21 error: TError,
22 message: string | undefined,
23 headers: THeaders,
24 ) {
25 super(`${APIError.makeMessage(status, error, message)}`);
26 this.status = status;
27 this.headers = headers;
28 this.error = error;
29 }
30
31 private static makeMessage(
32 status: number | undefined,

Callers

nothing calls this directly

Calls 1

makeMessageMethod · 0.45

Tested by

no test coverage detected