Exception: MixinBot::TransientError

Inherits:
APIError show all
Defined in:
lib/mixin_bot/errors.rb

Overview

Raised for transient conditions that may succeed on retry (error codes 10104, 10105).

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

Returns:

  • (Boolean)


187
188
189
# File 'lib/mixin_bot/errors.rb', line 187

def retryable?
  true
end