Exception: Msp430Bsl::Uart::Exceptions::Ack::MessageNotSupported
- Inherits:
-
StandardError
- Object
- StandardError
- Msp430Bsl::Uart::Exceptions::Ack::MessageNotSupported
- Defined in:
- lib/msp430_bsl/uart/exceptions.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ MessageNotSupported
constructor
A new instance of MessageNotSupported.
Constructor Details
#initialize(value) ⇒ MessageNotSupported
Returns a new instance of MessageNotSupported.
15 16 17 18 19 20 21 22 |
# File 'lib/msp430_bsl/uart/exceptions.rb', line 15 def initialize(value) = if value "message with value 0x#{value.to_hex_str} not supported" else "message without a value" end super() end |