(status: number | undefined)
| 29 | const DEFINITIVE_DENIAL_STATUSES: ReadonlySet<number> = new Set([401, 403, 404]); |
| 30 | |
| 31 | export const isDefinitiveWorkOSDenialStatus = (status: number | undefined): boolean => |
| 32 | status !== undefined && DEFINITIVE_DENIAL_STATUSES.has(status); |
| 33 | |
| 34 | // Tag-based guards (same pattern as `isOAuth2Error` in core/sdk/oauth-helpers): |
| 35 | // the untyped failure channels these run against carry values that crossed |
no outgoing calls
no test coverage detected