Error Taxonomy¶
Uni-Xervo uses RuntimeError to separate config, load, API, and inference failures.
Variants¶
Config(String)ProviderNotFound(String)CapabilityMismatch(String)Load(String)ApiError(String)InferenceError(String)RateLimitedUnauthorizedTimeoutUnavailable
Retryability¶
RuntimeError::is_retryable() returns true for:
RateLimitedTimeoutUnavailable
These are the only variants retried by instrumented wrappers when retry is configured.
Remote HTTP mapping¶
Remote providers map HTTP status to runtime errors:
429->RateLimited401,403->Unauthorized5xx->Unavailable- Other non-2xx ->
ApiError
Typical diagnosis workflow¶
Config: catalog/provider setup bug.ProviderNotFound: provider not registered or not compiled.CapabilityMismatch: requested typed handle does not match alias task/provider capability.Load: provider initialization or model materialization failure.ApiError/InferenceError: inspect provider response body and model input assumptions.