Error Classes
All error classes are exported from the mainreductoai module:
Common Error Handling
Retry Logic
Automatic Retries
The SDK automatically retries requests on:- Connection errors (
APIConnectionError) - Request timeouts (
APIConnectionTimeoutError) - 408 Request Timeout
- 409 Conflict
- 429 Rate Limit
- 5xx Internal Server Errors
maxRetries:
Next Steps
- Learn about job management for async operations
- Explore examples with error handling patterns