MCPcopy Index your code
hub / github.com/simstudioai/sim / isTerminalRefreshError

Function isTerminalRefreshError

apps/sim/lib/oauth/terminal-errors.ts:23–26  ·  view source on GitHub ↗
(code: string | undefined | null)

Source from the content-addressed store, hash-verified

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

Callers 2

performCoalescedRefreshFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected