Exception: OpenAI::Errors::RealtimeConnectionError
- Inherits:
-
WebSocketConnectionError
- Object
- StandardError
- Error
- WebSocketConnectionError
- OpenAI::Errors::RealtimeConnectionError
- Defined in:
- lib/openai/helpers/realtime/errors.rb,
sig/openai/helpers/realtime/extensions.rbs
Overview
Raised when a Realtime WebSocket cannot be opened or used.
Instance Attribute Summary collapse
- #http_status ⇒ Integer? readonly private
-
#url ⇒ URI::Generic
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #cause ⇒ Exception?
- #initialize ⇒ Object constructor private
Constructor Details
#initialize ⇒ 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.
34 |
# File 'sig/openai/helpers/realtime/extensions.rbs', line 34
def initialize: (
|
Instance Attribute Details
#http_status ⇒ Integer? (readonly)
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.
30 31 32 |
# File 'sig/openai/helpers/realtime/extensions.rbs', line 30 def http_status @http_status end |
#url ⇒ URI::Generic (readonly)
Returns the value of attribute url.
27 28 29 |
# File 'sig/openai/helpers/realtime/extensions.rbs', line 27 def url @url end |
Instance Method Details
#cause ⇒ Exception?
31 |
# File 'sig/openai/helpers/realtime/extensions.rbs', line 31
def cause: -> Exception?
|