NexusConfigError | An option is missing, mistyped or out of range. Carries option, reason and the value. |
NexusInitError | The initial sync could not complete. The underlying failure is on cause. |
NexusUnauthorizedError | HTTP 401 - the key is invalid, or does not match this host. |
NexusBillingError | HTTP 402 - the tenant has overdue invoices. |
NexusNotFoundError | HTTP 404 - the service or endpoint does not exist. |
NexusQuarantinedError | HTTP 429 with a quarantine body. Carries reason and expiresAt. |
NexusServerError | HTTP 5xx, or a 429 without a quarantine. Carries status, bodySnippet, retryAfterMs. |
NexusTimeoutError | A request exceeded its deadline. Carries operation and timeoutMs. |
NexusResponseTooLargeError | A response body exceeded 8 MiB. |
NexusApiError | A status with no dedicated class. Carries status and code - the server’s error field (for example tenant_deleted), or null. |
NexusEnvironmentDisabledError | HTTP 403 environment_disabled - the project has switched the service’s environment off. A NexusApiError with status 403 and code environment_disabled. |
NexusServiceLockedError | HTTP 423 service_locked - the service is in emergency lockdown. Stops SSE reconnects and halts background sync retries until an explicit sync succeeds. A NexusApiError with status 423 and code service_locked. |
NexusAbAddonNotAvailableError | HTTP 403 from AB evaluation - the add-on is not active. |
NexusClosedError | A method was called on a client that has been closed. |
NexusDevSessionError | A configuration with neither baseUrl nor apiKey could not obtain its developer session from /__westyx/session: the app was not started with westyx dev run, the dev server has no /__westyx proxy entry, the session expired (westyx dev setup renews it), or the broker answered something unexpected. Arrives on NexusInitError.cause at startup. The message says which, and never contains the token. |
NexusNotInitializedError | The client is read before provideNexus()’s application initializer has completed. |
NexusDuplicateRegistrationError | A second provideNexus() (or NexusModule.forRoot()) reaches one injector. |