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

Method constructor

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

Source from the content-addressed store, hash-verified

13 status?: string;
14}
15
16export interface GoogleCalendarError {
17 error: GoogleCalendarErrorBody;
18}
19
20export class APIError<
21 TStatus extends number | undefined = number | undefined,
22 THeaders extends Headers | undefined = Headers | undefined,
23 TError extends GoogleCalendarError | undefined =
24 | GoogleCalendarError
25 | undefined,
26> extends Error {
27 /** HTTP status for the response that caused the error */
28 readonly status: TStatus;

Callers

nothing calls this directly

Calls 1

makeMessageMethod · 0.45

Tested by

no test coverage detected