Expand description
Error types for Redis Cloud API client
This module provides error handling for all API operations, including typed errors for common HTTP status codes and network failures.
§Error Types
CloudError::BadRequest- HTTP 400 errorsCloudError::AuthenticationFailed- HTTP 401 errorsCloudError::Forbidden- HTTP 403 errorsCloudError::NotFound- HTTP 404 errorsCloudError::RateLimited- HTTP 429 errorsCloudError::InternalServerError- HTTP 500 errorsCloudError::ServiceUnavailable- HTTP 503 errors
§Retryable Errors
Some errors are considered retryable (transient failures that may succeed on retry):
- Rate limited (429)
- Service unavailable (503)
- Connection/request errors (network issues)
Use CloudError::is_retryable() to check if an error should be retried.
Enums§
- Cloud
Error - Errors that can occur when interacting with the Redis Cloud API
Type Aliases§
- Result
- Result type alias for Redis Cloud operations