Exception: Rclrb::InvalidMessageTypeError
- Defined in:
- lib/rclrb/common.rb
Overview
Publisher.call or Client.call was called with the wrong type of message.
Instance Method Summary collapse
-
#initialize(got, expected) ⇒ InvalidMessageTypeError
constructor
A new instance of InvalidMessageTypeError.
Constructor Details
#initialize(got, expected) ⇒ InvalidMessageTypeError
Returns a new instance of InvalidMessageTypeError.
39 40 41 |
# File 'lib/rclrb/common.rb', line 39 def initialize got, expected super "Invalid message type got '#{got}' expected '#{expected}" end |