Exception: Foxtrot::Errors::APITimeoutError

Inherits:
FoxtrotError
  • Object
show all
Defined in:
lib/foxtrot/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(count) ⇒ APITimeoutError

Returns a new instance of APITimeoutError.



17
18
19
20
# File 'lib/foxtrot/errors.rb', line 17

def initialize(count)
  @count = count
  super "Request timed out after #{count} seconds."
end