class Concurrent::Promise
def fail(reason = StandardError.new)
-
(Concurrent::PromiseExecutionError)
- if not the root promise
def fail(reason = StandardError.new) set { raise reason } end
(Concurrent::PromiseExecutionError)
- if not the root promise
def fail(reason = StandardError.new) set { raise reason } end