NexusInitException | NexusClient.create() (called by the auto-configuration during context startup) | The initial sync failed for any reason. getCause() returns the underlying exception. |
NexusUnauthorizedException | create(), sync() | Server returned HTTP 401 - invalid API key, slug/key mismatch, or revoked key. |
NexusBillingException (v0.2.0) | create(), sync() | Server returned HTTP 402 - tenant has invoices overdue by more than 14 days. Background sync halts; the cache continues to serve. Check client.isBillingOverdue(). |
NexusNotFoundException | create(), sync() | Server returned HTTP 404 - unknown subdomain or missing endpoint. |
NexusPublicKeyException | getSecret() | The client uses a public key. Thrown synchronously, before the network call. |
NexusServiceKindMismatchException (v0.2.0) | getSecret() | The service kind reported by the server is "frontend". Frontend services must not hold secrets, regardless of key type. |
NexusSecretNotFoundException | getSecret() | The requested key is not in the cache. Has a getSecretKey() method returning the requested name. |
NexusWIFNotConfiguredException (v0.2.0) | create() | nexus.wif.enabled=true but no usable workload-identity provider matched the running environment. |
NexusWIFTokenExchangeFailedException (v0.2.0) | create(), sync() | POST /v1/auth/token-exchange returned a non-2xx response. |
NexusSessionExpiredException (v0.2.0) | sync() | The WIF session JWT has expired and the SDK could not refresh it. |
NexusAbAddonNotAvailableException (v0.3.0) | evaluateAB() | Server returned HTTP 403 - the AB Testing add-on is not active for the project. |
NexusQuarantinedException (v0.4.0) | sync() | Server returned HTTP 429 with {"error":"quarantined",...} - the project is quarantined until expiresAt(). Background sync pauses; cache continues to serve. NexusStreamObserver.onQuarantined is also called. |
NexusRateLimitedException (v0.5.0) | setSecret(), deleteSecret(), deleteSecretVersion() | Server returned HTTP 429 on a write endpoint. Check getRetryAfter() for the recommended retry delay. |