Exception: OpenAI::Errors::RealtimeReconnectError
- Defined in:
- lib/openai/helpers/realtime/errors.rb,
sig/openai/helpers/realtime/recovery.rbs
Overview
Terminal recovery failure. Payloads are available only through explicit accessors, never included in the message or default exception rendering.
Instance Attribute Summary collapse
-
#uncertain_message ⇒ String?
readonly
Returns the value of attribute uncertain_message.
-
#unsent_messages ⇒ Array[String]
readonly
Returns the value of attribute unsent_messages.
Attributes inherited from Error
Instance Method Summary collapse
- #initialize(message:, unsent_messages: [], uncertain_message: nil) ⇒ Object constructor private
Constructor Details
#initialize(message:, unsent_messages: [], uncertain_message: nil) ⇒ Object
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.
16 17 18 19 20 |
# File 'lib/openai/helpers/realtime/errors.rb', line 16 def initialize(message:, unsent_messages: [], uncertain_message: nil) @unsent_messages = .dup.freeze @uncertain_message = super() end |
Instance Attribute Details
#uncertain_message ⇒ String? (readonly)
Returns the value of attribute uncertain_message.
13 14 15 |
# File 'lib/openai/helpers/realtime/errors.rb', line 13 def @uncertain_message end |
#unsent_messages ⇒ Array[String] (readonly)
Returns the value of attribute unsent_messages.
13 14 15 |
# File 'lib/openai/helpers/realtime/errors.rb', line 13 def @unsent_messages end |