MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / errors.test.ts

File errors.test.ts

apps/cloud/src/auth/errors.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// The WorkOS failure-classification boundary: the service adapter must thread
2// the SDK exception's HTTP status onto the public `WorkOSError`, and the
3// definitive-denial predicate must split 401/403/404 (WorkOS answered "no" —
4// fail closed) from 429/5xx/no-status (transient — retryable). This split is

Callers

nothing calls this directly

Calls 3

workosErrorFromFailureFunction · 0.90
isDefinitiveWorkOSDenialFunction · 0.90

Tested by

no test coverage detected