Exception: Pharrell::ConfigNotDefinedError

Inherits:
Exception
  • Object
show all
Defined in:
lib/pharrell/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ ConfigNotDefinedError

Returns a new instance of ConfigNotDefinedError.



13
14
15
# File 'lib/pharrell/errors.rb', line 13

def initialize(config)
  @config = config
end

Instance Method Details

#messageObject



17
18
19
# File 'lib/pharrell/errors.rb', line 17

def message
  "Config '#{@config}' has not been defined!"
end