MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / ErrApi

Function ErrApi

packages/cli/src/auth/errors.ts:47–48  ·  view source on GitHub ↗
(status: number, detail: string)

Source from the content-addressed store, hash-verified

45 );
46
47export const ErrApi = (status: number, detail: string) =>
48 new AuthError("API_ERROR", `HeyGen API error (${status}): ${detail}`);
49
50export const ErrOAuthNotConfigured = () =>
51 new AuthError(

Callers 6

refreshTokensFunction · 0.85
exchangeCodeForTokensFunction · 0.85
readJsonOrThrowFunction · 0.85
fetchUserMethod · 0.85
errors.test.tsFile · 0.85
getCurrentUserMethod · 0.85

Calls

no outgoing calls

Tested by 1

getCurrentUserMethod · 0.68