Exception: NitroConfig::Error
- Inherits:
-
StandardError
- Object
- StandardError
- NitroConfig::Error
- Defined in:
- lib/nitro_config/error.rb
Overview
Raised when a path cannot be found in the config tree
Instance Method Summary collapse
-
#initialize(path) ⇒ Error
constructor
A new instance of Error.
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 |