Exception: Async::ResourcePool::TimeoutError
- Defined in:
- lib/async/resource_pool/errors.rb
Instance Method Summary collapse
-
#initialize(timeout) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
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 |