Exception: NitroConfig::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/nitro_config/error.rb

Overview

Raised when a path cannot be found in the config tree

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Error

Returns a new instance of Error.



6
7
8
9
# File 'lib/nitro_config/error.rb', line 6

def initialize(path)
  super "#{path} not found in app config! If you're working in development, you probably need to" \
        "`cp config/config_sample.yml config/config.yml` or create a symlink for convenience."
end