()
| 48 | new AuthError("API_ERROR", `HeyGen API error (${status}): ${detail}`); |
| 49 | |
| 50 | export const ErrOAuthNotConfigured = () => |
| 51 | new AuthError( |
| 52 | "OAUTH_NOT_CONFIGURED", |
| 53 | "OAuth client is not configured", |
| 54 | "Set HYPERFRAMES_OAUTH_CLIENT_ID, or run `hyperframes auth login --api-key`.", |
| 55 | ); |
| 56 | |
| 57 | export const ErrRefreshFailed = (detail?: string) => |
| 58 | new AuthError( |