Exception: MixinBot::RateLimitError
- Defined in:
- lib/mixin_bot/errors.rb
Overview
Raised when the API rate limit is exceeded (error code 429).
Instance Attribute Summary
Attributes inherited from APIError
#body, #code, #description, #extra, #http_status, #path, #request_id, #retry_after, #server_time, #status, #verb
Instance Method Summary collapse
Methods inherited from APIError
build, #client_error?, #formatted_message, #initialize, #retryable?
Constructor Details
This class inherits a constructor from MixinBot::APIError
Instance Method Details
#throttle? ⇒ Boolean
163 164 165 |
# File 'lib/mixin_bot/errors.rb', line 163 def throttle? true end |