Config | - | A configuration value was rejected at construction; the message names the option and, for lists, the index |
Unauthorized | 401 | Credential rejected |
BadRequest | 400 | Malformed request body (token exchange) |
Forbidden { code } | 403 | Understood but refused; code is the server’s error code, e.g. WIF not enabled for this service |
EnvironmentDisabled { operation } | 403 | The environment is switched off in the Nexus console. The key is still valid - do not rotate it. operation is sync, secret write, evaluate_ab, stream or token exchange |
ServiceLocked { operation } | 423 | The service is in emergency lockdown. Stops SSE reconnects immediately and halts background sync retries until an explicit sync() succeeds after the lockdown is lifted |
Api { operation, status, code } | any other | A status no other variant describes |
NotFound | 404 | Resource does not exist; usually a wrong endpoint |
PublicKeyRestricted | - | A public key attempted a secret operation - no HTTP call was made |
ServiceKindMismatch | - | Secrets requested on a frontend-kind service |
SecretNotFound | - | Absent from the snapshot, or the entry is file-type; the key is truncated to 128 chars |
SyncFailed | - | A response that does not match the contract (a non-boolean A/B result), or a stream that went idle or sent an oversized line |
Billing | 402 | Overdue invoices; the background refresh backs off, cached values keep being served |
RateLimited | 429 | Rate limited, no quarantine body |
Quarantined | 429 | Quarantined by anomaly detection; do not retry until expires_at |
WifNotConfigured | - | WIF requested but no provider detected |
WifTokenExchangeFailed | - | The exchange answered something unusable, or the configured token source failed or panicked |
DeveloperCredentials(String) | - | A westyx dev setup credential was found but cannot be used - expired, malformed, or readable by other local users. The message names the command or chmod that fixes it, and never carries the token |
SessionExpired { source } | - | The WIF session expired, the refresh failed, and no API key is configured to fall back to; source is the refresh error |
AbAddonNotAvailable | 403 | evaluate_ab on a project without the AB Testing add-on |
ResponseTooLarge | - | A response body exceeded the size the SDK will buffer |
Transport | - | Transport or TLS failure; the concrete type is erased on purpose |
Json | - | The body was not valid JSON |
Io | - | Filesystem failure while materialising a file-type secret |