Nombaone.RateLimitError exception (Nomba One v0.1.0)

View Source

429 — slow down. retry_after is the seconds until the window rolls over (the SDK already honored it on automatic retries); limit/remaining mirror the X-RateLimit-* headers.

Summary

Types

t()

@type t() :: %Nombaone.RateLimitError{
  __exception__: true,
  code: Nombaone.Error.code() | nil,
  doc_url: String.t() | nil,
  fields: %{optional(String.t()) => [String.t()]} | nil,
  hint: String.t() | nil,
  limit: term(),
  message: String.t() | nil,
  remaining: term(),
  request_id: String.t() | nil,
  retry_after: term(),
  status: non_neg_integer() | nil
}