Lettermint.RateLimitError exception (Lettermint v2.0.0)

Copy Markdown View Source

HTTP 429: too many requests.

Has the fields of Lettermint.APIError, plus retry_after: the seconds to wait, from the Retry-After header (seconds or an HTTP date), or nil.

Summary

Types

t()

@type t() :: %Lettermint.RateLimitError{
  __exception__: term(),
  body: term(),
  code: String.t() | nil,
  details: term(),
  message: String.t(),
  retry_after: non_neg_integer() | nil,
  status: 429
}