Exception: Msp430Bsl::Exceptions::Command::RequiresData
- Inherits:
-
StandardError
- Object
- StandardError
- Msp430Bsl::Exceptions::Command::RequiresData
- Defined in:
- lib/msp430_bsl/exceptions.rb
Instance Method Summary collapse
-
#initialize(cmd_name) ⇒ RequiresData
constructor
A new instance of RequiresData.
Constructor Details
#initialize(cmd_name) ⇒ RequiresData
Returns a new instance of RequiresData.
21 22 23 24 |
# File 'lib/msp430_bsl/exceptions.rb', line 21 def initialize(cmd_name) msg = "command '#{cmd_name}' requires 'data' param" super(msg) end |