Exception: Woods::Cache::OwnerAbortedError Private

Inherits:
StandardError
  • Object
show all
Defined in:
lib/woods/cache/cache_middleware.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Raised by InflightEntry#await when the owning thread aborted before either fulfilling or rejecting the entry — for example on ‘Interrupt`, `Thread#kill`, or a non-StandardError exception that bypasses the explicit `rescue`. Waiters receive this instead of blocking forever.

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'embedding fetch owner aborted before fulfill') ⇒ OwnerAbortedError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of OwnerAbortedError.



15
16
17
# File 'lib/woods/cache/cache_middleware.rb', line 15

def initialize(msg = 'embedding fetch owner aborted before fulfill')
  super
end