Exception: Coltrane::ChordNotFoundError

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

Instance Method Summary collapse

Constructor Details

#initializeChordNotFoundError

Returns a new instance of ChordNotFoundError.



51
52
53
54
55
56
57
# File 'lib/coltrane/errors.rb', line 51

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