class Athena::Framework::Exception::TooManyRequests
inherits Athena::Framework::Exception::HTTPException
#
Constructors#
.new(message : String, retry_after : Number | String | Nil = nil, cause : ::Exception | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
#
See Athena::Framework::Exception::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.