Exception: Async::TimeoutError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/async/task.rb

Overview

Raised if a timeout occurs on a specific Fiber. Handled gracefully by ‘Task`.

Instance Method Summary collapse

Constructor Details

#initialize(message = "execution expired") ⇒ TimeoutError

Returns a new instance of TimeoutError.



35
36
37
# File 'lib/async/task.rb', line 35

def initialize(message = "execution expired")
	super
end