Exception: ConstConf::Errors::RequiredValueNotConfigured

Inherits:
ConfigurationError show all
Defined in:
lib/const_conf/errors.rb

Overview

A custom exception class used to signal that a required configuration value has not been provided.

This exception is raised when a configuration setting marked as required has not been configured with a valid value, helping to ensure that essential application settings are properly defined before runtime.

Examples:

Handling a required configuration error

begin
  # Code that may raise RequiredValueNotConfigured
rescue RequiredValueNotConfigured => e
  # Handle the missing required configuration
end