Skip to main content

Module error

Module error 

Source
Expand description

Error types for aimux-core.

Structs§

ApiCallError
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).
RetryError
Complete error history for a retried model operation.

Enums§

AiMuxError
Unified error type for all aimux operations.
RetryErrorReason
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.