Sha256: 50447e6efe640a758adc94d4843fd4523b060c2ffeaf3e43950110d6fff5f975
Contents?: true
Size: 839 Bytes
Versions: 12
Compression:
Stored size: 839 Bytes
Contents
# frozen_string_literal: true # rubocop:disable Style/Documentation module Coltrane module Cli class ColtraneCliError < StandardError def initialize(msg) super msg end end class WrongFlavorError < ColtraneCliError def initialize(msg = nil) super msg || 'Wrong flavor. Check possible flavors with `coltrane list flavors`.' end end class BadFindScales < ColtraneCliError def initialize(msg = nil) super msg || 'Provide --notes or --chords. Ex: `coltrane find-scale --notes C-E-G`.' end end class WrongRepresentationTypeError < ColtraneCliError def initialize(type) super "The provided representation type (#{type}) "\ 'is not available at the moment.' end end end end # rubocop:enable Style/Documentation
Version data entries
12 entries across 12 versions & 1 rubygems