Exception: Chordsketch::ChordSketchError::ConversionFailed
- Inherits:
-
StandardError
- Object
- StandardError
- Chordsketch::ChordSketchError::ConversionFailed
- 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) ⇒ ConversionFailed
constructor
A new instance of ConversionFailed.
- #to_s ⇒ Object
Constructor Details
#initialize(reason) ⇒ ConversionFailed
Returns a new instance of ConversionFailed.
785 786 787 788 |
# File 'lib/chordsketch_uniffi.rb', line 785 def initialize(reason) @reason = reason super() end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
790 791 792 |
# File 'lib/chordsketch_uniffi.rb', line 790 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
793 794 795 |
# File 'lib/chordsketch_uniffi.rb', line 793 def to_s "#{self.class.name}(reason=#{@reason.inspect})" end |