Module: ConstConf::Errors

Included in:
ConstConf
Defined in:
lib/const_conf/errors.rb

Overview

A module that defines custom exception classes for configuration-related errors in the ConstConf system. ConstConf::Errors is then included in ConstConf.

This module provides a hierarchy of exception classes that are used throughout the ConstConf configuration management library to signal various types of configuration issues, such as missing required values or descriptions. These exceptions help ensure that applications using ConstConf are properly configured and can handle configuration errors gracefully.

Examples:

Handling configuration errors

begin
  # Code that may raise a ConstConf::ConfigurationError
rescue ConstConf::ConfigurationError => e
  # Handle the configuration error appropriately
end

Defined Under Namespace

Classes: ConfigurationError, RequiredDescriptionNotConfigured, RequiredValueNotConfigured, SettingAlreadyDefined, SettingCheckFailed