Exception: RailwayIpc::Responder::ResponseTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- RailwayIpc::Responder::ResponseTypeError
- Defined in:
- lib/railway_ipc/responder.rb
Instance Method Summary collapse
-
#initialize(response_class) ⇒ ResponseTypeError
constructor
A new instance of ResponseTypeError.
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) = "`respond` block should return a Google Protobuf message that the corresponding client can handle, instead returned #{response_class}" super() end |