Exception: Async::TimeoutError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/async/error.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.



13
14
15
# File 'lib/async/error.rb', line 13

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