Exception: CoConfig::MissingConfigError
- Inherits:
-
ConfigurationLoadError
- Object
- RuntimeError
- ConfigurationLoadError
- CoConfig::MissingConfigError
- Defined in:
- lib/co_config/errors.rb
Instance Attribute Summary
Attributes inherited from ConfigurationLoadError
Instance Method Summary collapse
-
#initialize(file_name, env) ⇒ MissingConfigError
constructor
A new instance of MissingConfigError.
Constructor Details
#initialize(file_name, env) ⇒ MissingConfigError
Returns a new instance of MissingConfigError.
14 15 16 |
# File 'lib/co_config/errors.rb', line 14 def initialize(file_name, env) @message = "Missing configuration for '#{env}' on '#{file_name}'" end |