Exception: Msp430Bsl::Exceptions::Command::RequiresAddr
- Inherits:
-
StandardError
- Object
- StandardError
- Msp430Bsl::Exceptions::Command::RequiresAddr
- Defined in:
- lib/msp430_bsl/exceptions.rb
Instance Method Summary collapse
-
#initialize(cmd_name) ⇒ RequiresAddr
constructor
A new instance of RequiresAddr.
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 |