Exception: RailwayIpc::Responder::ResponseTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/railway_ipc/responder.rb

Instance Method Summary collapse

Constructor Details

#initialize(response_class) ⇒ ResponseTypeError

Returns a new instance of ResponseTypeError.



26
27
28
29
# File 'lib/railway_ipc/responder.rb', line 26

def initialize(response_class)
  message = "`respond` block should return a Google Protobuf message that the corresponding client can handle, instead returned #{response_class}"
  super(message)
end