Exception: Async::ResourcePool::TimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/async/resource_pool/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(timeout) ⇒ TimeoutError

Returns a new instance of TimeoutError.



20
21
22
# File 'lib/async/resource_pool/errors.rb', line 20

def initialize(timeout)
  super("timeout #{timeout} seconds was elapsed")
end