Accrue.RateLimitError exception (accrue v0.3.1)

Copy Markdown View Source

Raised when the processor returns a rate-limit response (HTTP 429). The retry_after field carries the server's suggested backoff in seconds.

Summary

Types

t()

@type t() :: %Accrue.RateLimitError{
  __exception__: true,
  http_status: term(),
  message: term(),
  processor_error: term(),
  request_id: term(),
  retry_after: term()
}