Exception: Flame::Errors::ConfigFileNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Flame::Errors::ConfigFileNotFoundError
- Defined in:
- lib/flame/errors/config_file_not_found_error.rb
Overview
Error for not found config file in Config
Instance Method Summary collapse
-
#initialize(file_name, directory) ⇒ ConfigFileNotFoundError
constructor
Create a new instance of error.
Constructor Details
#initialize(file_name, directory) ⇒ ConfigFileNotFoundError
Create a new instance of error
11 12 13 14 |
# File 'lib/flame/errors/config_file_not_found_error.rb', line 11 def initialize(file_name, directory) directory = directory.sub(%r{^/+}, '').sub(%r{/+$}, '') super("Config file '#{file_name}' not found in '#{directory}/'") end |