Exception: CoConfig::FailedValidationError

Inherits:
ConfigurationLoadError show all
Defined in:
lib/co_config/errors.rb

Instance Attribute Summary

Attributes inherited from ConfigurationLoadError

#message

Instance Method Summary collapse

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