Exception: Coltrane::BadChordError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ BadChordError

Returns a new instance of BadChordError.



38
39
40
# File 'lib/coltrane/commands/errors.rb', line 38

def initialize(msg = nil)
  super msg || 'Incorrect chord, please specify a set of chords separated by `-`. Ex: coltrane chord CM7'
end