Exception: Chordsketch::ChordSketchError::InvalidConfig
- Inherits:
-
StandardError
- Object
- StandardError
- Chordsketch::ChordSketchError::InvalidConfig
- Defined in:
- lib/chordsketch_uniffi.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason) ⇒ InvalidConfig
constructor
A new instance of InvalidConfig.
- #to_s ⇒ Object
Constructor Details
#initialize(reason) ⇒ InvalidConfig
Returns a new instance of InvalidConfig.
481 482 483 484 |
# File 'lib/chordsketch_uniffi.rb', line 481 def initialize(reason) @reason = reason super() end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
486 487 488 |
# File 'lib/chordsketch_uniffi.rb', line 486 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
489 490 491 |
# File 'lib/chordsketch_uniffi.rb', line 489 def to_s "#{self.class.name}(reason=#{@reason.inspect})" end |