Exception: Coltrane::BadFindScales

Inherits:
CommandError show all
Defined in:
lib/coltrane/commands/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ BadFindScales

Returns a new instance of BadFindScales.



19
20
21
# File 'lib/coltrane/commands/errors.rb', line 19

def initialize(msg = nil)
  super msg || 'Provide --notes or --chords. Ex: `coltrane find-scale --notes C-E-G`.'
end