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