Exception: WebPipe::ConnSupport::Composition::InvalidOperationResult Private

Inherits:
RuntimeError
  • Object
show all
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

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(
    "      An operation returned +\#{returned.inspect}+. To be valid,\n      an operation must return whether a\n      WebPipe::Conn::Ongoing or a WebPipe::Conn::Halted.\n    MSG\n  )\nend\n"