Exception: EY::Config::ConfigurationError
- Defined in:
- lib/engineyard/config.rb
Instance Method Summary collapse
-
#initialize(key, value, source, message = nil) ⇒ ConfigurationError
constructor
A new instance of ConfigurationError.
- #message ⇒ Object
Methods inherited from Error
Constructor Details
#initialize(key, value, source, message = nil) ⇒ ConfigurationError
Returns a new instance of ConfigurationError.
76 77 78 79 |
# File 'lib/engineyard/config.rb', line 76 def initialize(key, value, source, =nil) super(nil) @key, @value, @source, @message = key, value, source, end |
Instance Method Details
#message ⇒ Object
81 82 83 |
# File 'lib/engineyard/config.rb', line 81 def %|"#{@key}" from #{@source} has invalid value: #{@value.inspect}#{": #{@message}" if @message}| end |