Exception: MixinBot::ServerError

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

Overview

Raised for server-side failures (error codes 500, 7000, 7001).

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)


206
207
208
# File 'lib/mixin_bot/errors.rb', line 206

def retryable?
  true
end