Source code for Ligare.programming.config.exceptions

"""
Exceptions raised by the configuration system.
"""


[docs] class InvalidConfigNameError(Exception): """The class name used as a configuration type is invalid."""
[docs] class NotEndsWithConfigError(InvalidConfigNameError): """The name must end with `Config`."""
[docs] class ConfigBuilderStateError(Exception): """The config builder has not been configured correctly."""
[docs] class ConfigInvalidError(Exception): """A configuration class failed to instantiate with a given configuration input."""