Exception: EnvControl::EnvironmentNameNotConfiguredError

Inherits:
Error
  • Object
show all
Defined in:
lib/env_control/errors.rb

Constant Summary collapse

MSG =
"Can't pick environment-specific contract for %s variable. " +
"EnvControl.configuration.environment_name is not set."

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from EnvControl::Error

Instance Method Details

#details(context) ⇒ Object



22
23
24
# File 'lib/env_control/errors.rb', line 22

def details(context)
  MSG % [context[:env_var]]
end