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.
702 703 704 705 |
# File 'lib/chordsketch_uniffi.rb', line 702 def initialize(reason) @reason = reason super() end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
707 708 709 |
# File 'lib/chordsketch_uniffi.rb', line 707 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
710 711 712 |
# File 'lib/chordsketch_uniffi.rb', line 710 def to_s "#{self.class.name}(reason=#{@reason.inspect})" end |