Exception: Msp430Bsl::Uart::Exceptions::PeripheralInterface::InterfaceWrapNotACommand

Inherits:
StandardError
  • Object
show all
Defined in:
lib/msp430_bsl/uart/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ InterfaceWrapNotACommand

Returns a new instance of InterfaceWrapNotACommand.



28
29
30
31
# File 'lib/msp430_bsl/uart/exceptions.rb', line 28

def initialize(arg)
  message = "Given argument '#{arg}' must be a Msp430Bsl::Command"
  super(message)
end