Exception: Coltrane::Theory::ChordNotFoundError

Inherits:
TheoryError
  • Object
show all
Defined in:
lib/coltrane/theory/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeChordNotFoundError

Returns a new instance of ChordNotFoundError.



58
59
60
61
62
63
64
# File 'lib/coltrane/theory/errors.rb', line 58

def initialize
  super "The chord you provided wasn't found. "\
        "If you're sure this chord exists, "\
        "would you mind to suggest it's inclusion here: "\
        'https://github.com/pedrozath/coltrane/issues '\
        "\n\nA tip tho: always include the letter M for major"
end