MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isExpiredErrorType

Function isExpiredErrorType

src/bridge/bridgeApi.ts:503–508  ·  view source on GitHub ↗
(errorType: string | undefined)

Source from the content-addressed store, hash-verified

501
502/** Check whether an error type string indicates a session/environment expiry. */
503export function isExpiredErrorType(errorType: string | undefined): boolean {
504 if (!errorType) {
505 return false
506 }
507 return errorType.includes('expired') || errorType.includes('lifetime')
508}
509
510/**
511 * Check whether a BridgeFatalError is a suppressible 403 permission error.

Callers 3

handleErrorStatusFunction · 0.85
startWorkPollLoopFunction · 0.85
runBridgeLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected