(errorType: string | undefined)
| 501 | |
| 502 | /** Check whether an error type string indicates a session/environment expiry. */ |
| 503 | export 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. |
no outgoing calls
no test coverage detected