Exception: D4H::API::RetriableError

Inherits:
Error
  • Object
show all
Defined in:
lib/d4h/api/error.rb

Overview

Public: Raised for transient HTTP errors that are safe to retry.

Triggered by 429 (rate limited) and 5xx (server error) responses. The Faraday retry middleware catches this exception and retries with exponential backoff.

If all retries are exhausted the exception propagates to the caller, so it can still be rescued like any other D4H::API::Error.