Exception: ConstConf::Errors::ConfigurationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/const_conf/errors.rb

Overview

A base exception class for configuration-related errors in the ConstConf module.

This class serves as the parent class for all custom exceptions raised within the ConstConf configuration management system. It provides a common ancestor for exception handling and allows for specific configuration error types to be distinguished from general errors.

Examples:

Handling a configuration error

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