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.
159 160 161 162 |
# File 'lib/discord_rda/connection/rest_proxy.rb', line 159 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.
157 158 159 |
# File 'lib/discord_rda/connection/rest_proxy.rb', line 157 def retry_after @retry_after end |