class Athena::Framework::Exceptions::TooManyRequests
inherits Athena::Framework::Exceptions::HTTPException
#
Constructors#
.new(message : String, retry_after : Number | String | Nil = nil, cause : Exception | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
#
See Athena::Framework::Exceptions::HTTPException#new
.
If retry_after is provided, adds a retry-after
header that represents the number of seconds or HTTP-date after which the request may be retried.