Exception: Msp430Bsl::Exceptions::Response::KindNotSupported

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

Instance Method Summary collapse

Constructor Details

#initialize(kind) ⇒ KindNotSupported

Returns a new instance of KindNotSupported.



30
31
32
33
# File 'lib/msp430_bsl/exceptions.rb', line 30

def initialize(kind)
  message = "Response kind '0x#{kind.to_hex_str}' not recognized. Supported response kinds: #{Configs::CMD_KINDS.keys}"
  super(message)
end