Expand description
Error types for aimux-core.
Structs§
- ApiCall
Error - What a failed API call observed — the field set of the AI SDK’s
APICallError(statusCode/responseBody), which this project’s error taxonomy mirrors (docs/internal/vercel-research/07-kernel-infrastructure.md). - Retry
Error - Complete error history for a retried model operation.
Enums§
- AiMux
Error - Unified error type for all aimux operations.
- Retry
Error Reason - Why the retry wrapper stopped retrying.
Functions§
- is_
retryable_ status - The AI SDK’s status-based retryability rule: 408 (timeout), 409 (conflict), 429 (rate limit) and every 5xx are worth retrying; everything else is not. One definition — response handlers and providers must not hand-roll this formula.