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

Create a new timeout error.



48
49
50
# File 'lib/async/task.rb', line 48

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