Exception: MixinBot::ResponseError
- Defined in:
- lib/mixin_bot/errors.rb
Overview
Raised when Mixin API returns an error response (unmapped or generic codes).
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, #throttle?
Constructor Details
This class inherits a constructor from MixinBot::APIError
Instance Method Details
#retryable? ⇒ Boolean
134 135 136 |
# File 'lib/mixin_bot/errors.rb', line 134 def retryable? code.to_i >= 500 end |