Exception: OpenAI::Errors::ResponsesConnectionError
- Inherits:
-
WebSocketConnectionError
- Object
- StandardError
- Error
- WebSocketConnectionError
- OpenAI::Errors::ResponsesConnectionError
- Defined in:
- lib/openai/helpers/responses_websocket/errors.rb,
sig/openai/helpers/responses_websocket/extensions.rbs
Overview
Raised when a Responses WebSocket cannot be opened or used.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#http_status ⇒ Integer?
readonly
Returns the value of attribute http_status.
-
#url ⇒ URI::Generic
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #cause ⇒ Exception?
- #initialize ⇒ Object constructor
Constructor Details
#initialize ⇒ Object
20 |
# File 'sig/openai/helpers/responses_websocket/extensions.rbs', line 20
def initialize: (
|
Instance Attribute Details
#http_status ⇒ Integer? (readonly)
Returns the value of attribute http_status.
18 19 20 |
# File 'sig/openai/helpers/responses_websocket/extensions.rbs', line 18 def http_status @http_status end |
#url ⇒ URI::Generic (readonly)
Returns the value of attribute url.
17 18 19 |
# File 'sig/openai/helpers/responses_websocket/extensions.rbs', line 17 def url @url end |
Instance Method Details
#cause ⇒ Exception?
8 |
# File 'lib/openai/helpers/responses_websocket/errors.rb', line 8 def cause = nil |