MCPcopy Create free account
hub / github.com/ascorbic/astro-loaders / constructor

Method constructor

packages/youtube/src/youtube-errors.ts:24–33  ·  view source on GitHub ↗
(
    message: string,
    url: string,
    public readonly statusCode: number,
    public readonly apiError?: string,
    public readonly apiErrorData?: any,
    options?: { cause?: unknown },
  )

Source from the content-addressed store, hash-verified

22 */
23export class YouTubeAPIError extends YouTubeError {
24 constructor(
25 message: string,
26 url: string,
27 public readonly statusCode: number,
28 public readonly apiError?: string,
29 public readonly apiErrorData?: any,
30 options?: { cause?: unknown },
31 ) {
32 super(message, url, options);
33 }
34
35 /**
36 * Check if this is a quota exceeded error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected