Exception: WebPipe::ConnSupport::Composition::InvalidOperationResult Private
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- WebPipe::ConnSupport::Composition::InvalidOperationResult
- Defined in:
- lib/web_pipe/conn_support/composition.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Raised when operation doesn't return a WebPipe::Conn.
Instance Method Summary collapse
-
#initialize(returned) ⇒ InvalidOperationResult
constructor
private
A new instance of InvalidOperationResult.
Constructor Details
#initialize(returned) ⇒ InvalidOperationResult
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 InvalidOperationResult.
12 13 14 15 16 17 18 19 20 |
# File 'lib/web_pipe/conn_support/composition.rb', line 12 def initialize(returned) super( <<~MSG An operation returned +#{returned.inspect}+. To be valid, an operation must return whether a WebPipe::Conn::Ongoing or a WebPipe::Conn::Halted. MSG ) end |