Exception: Msp430Bsl::Exceptions::Response::NotValid
- Inherits:
-
StandardError
- Object
- StandardError
- Msp430Bsl::Exceptions::Response::NotValid
- Defined in:
- lib/msp430_bsl/exceptions.rb
Instance Method Summary collapse
-
#initialize(errors) ⇒ NotValid
constructor
A new instance of NotValid.
Constructor Details
#initialize(errors) ⇒ NotValid
Returns a new instance of NotValid.
37 38 39 40 |
# File 'lib/msp430_bsl/exceptions.rb', line 37 def initialize(errors) = "Response not valid. Errors: \n\n#{errors.map { |err| " - #{err[1]}" }.join "\n" }\n" super() end |