Exception: Cohere::Transcribe::ASR::CircuitOpenError

Inherits:
ExecutionError show all
Defined in:
lib/cohere/transcribe/asr/failure_policy.rb

Overview

Raised without entering the native runtime after an invariant or device-fatal failure has poisoned the retained inference session.

Constant Summary

Constants inherited from ExecutionError

ExecutionError::KINDS

Instance Attribute Summary

Attributes inherited from ExecutionError

#failure_kind, #original

Instance Method Summary collapse

Constructor Details

#initialize(fingerprint) ⇒ CircuitOpenError

Returns a new instance of CircuitOpenError.



29
30
31
32
33
34
# File 'lib/cohere/transcribe/asr/failure_policy.rb', line 29

def initialize(fingerprint)
  super(
    "runtime failure circuit breaker is open: #{fingerprint}",
    failure_kind: :fatal
  )
end