NexusInitError | NexusClient.create(), AsyncNexusClient.create() | The initial sync failed for any reason. The __cause__ attribute carries the underlying exception (often NexusUnauthorizedError or an httpx.HTTPError). |
NexusUnauthorizedError | create(), sync() | Server returned HTTP 401 - invalid API key, slug/key mismatch, or revoked key. |
NexusBillingError (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.billing_overdue. |
NexusQuarantinedError (v0.4.0) | sync() | Server returned HTTP 429 with {"error":"quarantined","reason":"...","expires_at":"..."}. Background sync is paused until expires_at. The on_quarantined observer callback also fires. |
NexusRateLimitedError (v0.5.0) | set_secret(), delete_secret(), delete_secret_version() | Server returned HTTP 429 - write rate limit exceeded on secret modification endpoints. |
NexusNotFoundError | create(), sync() | Server returned HTTP 404 - unknown subdomain or missing endpoint. |
NexusPublicKeyError | get_secret(), set_secret(), delete_secret(), delete_secret_version() | The client uses a public key. Raised synchronously, before the network call. |
NexusServiceKindMismatchError (v0.2.0) | get_secret() | The service kind reported by the server is "frontend". Frontend services must not hold secrets, regardless of key type. |
NexusSecretNotFoundError | get_secret() | The requested key is not in the cache (and the client uses an secret key). The key attribute carries the requested name. |
NexusWIFNotConfiguredError (v0.2.0) | create() | wif=WIFConfig(enabled=True) but no usable workload-identity provider matched the running environment. Wrapped in NexusInitError on the initial connect. |
NexusWIFTokenExchangeFailedError (v0.2.0) | create(), sync() | POST /v1/auth/token-exchange returned a non-2xx response, or the body could not be decoded. |
NexusSessionExpiredError (v0.2.0) | sync() | The WIF session JWT has expired and the SDK could not refresh it. |
NexusAbAddonNotAvailableError (v0.3.0) | evaluate_ab() | Server returned HTTP 403 - the AB Testing add-on is not active for this tenant/service. |