Exception: Msp430Bsl::Exceptions::Command::NameNotSupported

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

Instance Method Summary collapse

Constructor Details

#initialize(given_name) ⇒ NameNotSupported

Returns a new instance of NameNotSupported.



7
8
9
10
# File 'lib/msp430_bsl/exceptions.rb', line 7

def initialize(given_name)
  message = "command '#{given_name}' not recognized. Supported commands: #{Configs::CMDS.keys}"
  super(message)
end