retryableStatusCodes property

List<int> retryableStatusCodes
final

HTTP status codes that trigger a retry.

Default: [408, 429, 500, 502, 503, 504]

  • 408: Request Timeout
  • 429: Too Many Requests (rate limiting)
  • 500: Internal Server Error
  • 502: Bad Gateway
  • 503: Service Unavailable
  • 504: Gateway Timeout

Implementation

final List<int> retryableStatusCodes;