(code: string | undefined | null)
| 21 | } |
| 22 | |
| 23 | export function isTerminalRefreshError(code: string | undefined | null): boolean { |
| 24 | if (!code) return false |
| 25 | return TERMINAL_ERRORS.has(code) |
| 26 | } |
| 27 | |
| 28 | export async function markCredentialDead(accountId: string, code: string): Promise<void> { |
| 29 | const redis = getRedisClient() |
no outgoing calls
no test coverage detected