Exception: Valkey::FutureAborted

Inherits:
FutureNotReady show all
Defined in:
lib/valkey/future.rb

Overview

Raised by Future#value when the owning pipeline/multi block raised (or a sequential MULTI/EXEC/DISCARD fallback batch failed partway through) before this command's slot could ever be resolved. Distinct from FutureNotReady (still a subclass, so rescue FutureNotReady still catches it) to give a much clearer diagnostic than "not ready yet" for something that in fact will never become ready.

Instance Method Summary collapse

Constructor Details

#initialize(msg = "This pipeline/multi block raised (or a sequential " \ "fallback batch failed partway through) before this " \ "command's result could be resolved.") ⇒ FutureAborted

Returns a new instance of FutureAborted.



19
20
21
22
23
# File 'lib/valkey/future.rb', line 19

def initialize(msg = "This pipeline/multi block raised (or a sequential " \
                     "fallback batch failed partway through) before this " \
                     "command's result could be resolved.")
  super
end