Exception: CoConfig::FailedValidationError
- Inherits:
-
ConfigurationLoadError
- Object
- RuntimeError
- ConfigurationLoadError
- CoConfig::FailedValidationError
- Defined in:
- lib/co_config/errors.rb
Instance Attribute Summary
Attributes inherited from ConfigurationLoadError
Instance Method Summary collapse
-
#initialize(file_name, error) ⇒ FailedValidationError
constructor
A new instance of FailedValidationError.
Constructor Details
#initialize(file_name, error) ⇒ FailedValidationError
Returns a new instance of FailedValidationError.
20 21 22 |
# File 'lib/co_config/errors.rb', line 20 def initialize(file_name, error) @message = "Failed validation for '#{file_name}' (#{error.to_s})" end |