python_infrastructure_exceptions.configuration ============================================== .. py:module:: python_infrastructure_exceptions.configuration .. autoapi-nested-parse:: Configuration infrastructure exceptions. Exceptions ---------- .. autoapisummary:: python_infrastructure_exceptions.configuration.ConfigurationError Module Contents --------------- .. py:exception:: ConfigurationError(message: str, details: str = None, config_key: str = None) Bases: :py:obj:`python_infrastructure_exceptions.base.InfrastructureException` Configuration infrastructure error. Use for: - Missing environment variables - Invalid configuration values - Configuration file not found - Secret not found - Invalid credentials Examples: raise ConfigurationError("Missing DATABASE_URL environment variable") raise ConfigurationError("Invalid log level", details="Expected: DEBUG, INFO, WARNING, ERROR") raise ConfigurationError("Config file not found", details="config.yaml not found in /etc/app/") .. py:attribute:: config_key :value: None