Exception: OpenAI::Errors::ResponsesClientEventError
- Defined in:
- lib/openai/helpers/responses_websocket/errors.rb,
sig/openai/helpers/responses_websocket/extensions.rbs
Overview
Raised before a malformed client event can be written.
Instance Method Summary collapse
- #cause ⇒ Exception?
-
#initialize ⇒ ResponsesClientEventError
constructor
private
A new instance of ResponsesClientEventError.
Constructor Details
#initialize ⇒ ResponsesClientEventError
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.
Returns a new instance of ResponsesClientEventError.
39 40 41 |
# File 'lib/openai/helpers/responses_websocket/errors.rb', line 39 def initialize super("Invalid Responses WebSocket client event.") end |
Instance Method Details
#cause ⇒ Exception?
36 |
# File 'lib/openai/helpers/responses_websocket/errors.rb', line 36 def cause = nil |