Exception: Coltrane::BadScaleError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ BadScaleError

Returns a new instance of BadScaleError.



32
33
34
# File 'lib/coltrane/commands/errors.rb', line 32

def initialize(msg = nil)
  super msg || 'Incorrect scale, please specify scale and root separated by `-`. Ex: `coltrane scale major-C'
end