Exception: Coltrane::ChordNotFoundError
- Inherits:
-
ColtraneError
- Object
- StandardError
- ColtraneError
- Coltrane::ChordNotFoundError
- Defined in:
- lib/coltrane/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ ChordNotFoundError
constructor
A new instance of ChordNotFoundError.
Constructor Details
#initialize ⇒ ChordNotFoundError
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 |