Exception: Msp430Bsl::Exceptions::Command::RequiresAddr

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

Instance Method Summary collapse

Constructor Details

#initialize(cmd_name) ⇒ RequiresAddr

Returns a new instance of RequiresAddr.



14
15
16
17
# File 'lib/msp430_bsl/exceptions.rb', line 14

def initialize(cmd_name)
  msg = "command '#{cmd_name}' requires 'addr' param"
  super(msg)
end