Exception: DiscordRDA::RestProxy::RateLimitedError
- Defined in:
- lib/discord_rda/connection/rest_proxy.rb
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Attributes inherited from APIError
Instance Method Summary collapse
-
#initialize(status, data, retry_after:) ⇒ RateLimitedError
constructor
A new instance of RateLimitedError.
Constructor Details
#initialize(status, data, retry_after:) ⇒ RateLimitedError
Returns a new instance of RateLimitedError.
163 164 165 166 |
# File 'lib/discord_rda/connection/rest_proxy.rb', line 163 def initialize(status, data, retry_after:) super(status, data) @retry_after = retry_after end |
Instance Attribute Details
#retry_after ⇒ Object (readonly)
Returns the value of attribute retry_after.
161 162 163 |
# File 'lib/discord_rda/connection/rest_proxy.rb', line 161 def retry_after @retry_after end |