common.configuration.exceptions
ContainerException Objects
class ContainerException(DltException)
base exception for all exceptions related to injectable container
ConfigProviderException Objects
class ConfigProviderException(ConfigurationException)
base exceptions for all exceptions raised by config providers
ConfigFieldMissingException Objects
class ConfigFieldMissingException(KeyError, ConfigurationException)
raises when not all required config fields are present
UnmatchedConfigHintResolversException Objects
class UnmatchedConfigHintResolversException(ConfigurationException)
Raised when using @resolve_type
on a field that doesn't exist in the spec
FinalConfigFieldException Objects
class FinalConfigFieldException(ConfigurationException)
rises when field was annotated as final ie Final[str] and the value is modified by config provider
ConfigValueCannotBeCoercedException Objects
class ConfigValueCannotBeCoercedException(ConfigurationValueError)
raises when value returned by config provider cannot be coerced to hinted type
ConfigFileNotFoundException Objects
class ConfigFileNotFoundException(ConfigurationException)
thrown when configuration file cannot be found in config folder
ConfigFieldMissingTypeHintException Objects
class ConfigFieldMissingTypeHintException(ConfigurationException)
thrown when configuration specification does not have type hint
ConfigFieldTypeHintNotSupported Objects
class ConfigFieldTypeHintNotSupported(ConfigurationException)
thrown when configuration specification uses not supported type in hint