Exception: Cohere::Transcribe::ASR::CircuitOpenError
- Inherits:
-
ExecutionError
- Object
- StandardError
- Error
- TranscriptionError
- TranscriptionRuntimeError
- ExecutionError
- Cohere::Transcribe::ASR::CircuitOpenError
- 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
Instance Attribute Summary
Attributes inherited from ExecutionError
Instance Method Summary collapse
-
#initialize(fingerprint) ⇒ CircuitOpenError
constructor
A new instance of CircuitOpenError.
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 |