Exception: RunApi::Core::TimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/runapi/core/errors.rb

Overview

Raised when HTTP request exceeds configured timeout.

Constant Summary

Constants inherited from Error

Error::DEFAULT_MESSAGES, Error::STATUS_MAP

Instance Attribute Summary

Attributes inherited from Error

#details, #request_id, #status

Instance Method Summary collapse

Methods inherited from Error

from_response, #to_h

Constructor Details

#initialize(message = "Request timed out", **kwargs) ⇒ TimeoutError

Returns a new instance of TimeoutError.



213
214
215
# File 'lib/runapi/core/errors.rb', line 213

def initialize(message = "Request timed out", **kwargs)
  super
end