Exception: Singly::TimeoutError

Inherits:
ApiError show all
Defined in:
lib/singly/error.rb

Instance Attribute Summary

Attributes inherited from ApiError

#response

Instance Method Summary collapse

Methods inherited from Error

y_u_no?

Constructor Details

#initialize(response) ⇒ TimeoutError

Returns a new instance of TimeoutError.



22
23
24
# File 'lib/singly/error.rb', line 22

def initialize(response)
  super(response, "Timed out after #{response.time} seconds")
end