Exception: Arf::RPC::ServiceBase::YieldWithoutRespondError

Inherits:
Error
  • Object
show all
Defined in:
lib/arf/rpc/service_base.rb

Instance Method Summary collapse

Constructor Details

#initializeYieldWithoutRespondError

Returns a new instance of YieldWithoutRespondError.



9
10
11
12
13
# File 'lib/arf/rpc/service_base.rb', line 9

def initialize
  super("This RPC method has response fields that must be sent before " \
        "starting a stream. Please invoke #respond with the response " \
        "parameters before yielding a value to the stream.")
end