Exception: Brut::Framework::Errors::MissingConfiguration
- Inherits:
-
Brut::Framework::Error
- Object
- StandardError
- Brut::Framework::Error
- Brut::Framework::Errors::MissingConfiguration
- Defined in:
- lib/brut/framework/errors/missing_configuration.rb
Overview
Raised when Brut configuration is missing an expected value. This is mostly raised when values that must be set per app have not been set.
Instance Method Summary collapse
-
#initialize(config_name, context) ⇒ MissingConfiguration
constructor
Create the exception.
Constructor Details
#initialize(config_name, context) ⇒ MissingConfiguration
Create the exception
8 9 10 |
# File 'lib/brut/framework/errors/missing_configuration.rb', line 8 def initialize(config_name, context) super("Configuration parameter '#{config_name}' did not have a value, but was expected to. #{context}") end |