Exception: Chordsketch::ChordSketchError::ConversionFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chordsketch_uniffi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#reasonObject (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_sObject



710
711
712
# File 'lib/chordsketch_uniffi.rb', line 710

def to_s
 "#{self.class.name}(reason=#{@reason.inspect})"
end