yera.config.exceptions
Configuration exceptions.
Symbols
ConfigError
YeraErrorConnectionConfigError, HubConfigError, ModelsConfigError, ProfileConfigError, ProvidersConfigError, PyprojectTomlNotFoundError, SettingsErrorA configuration file could not be read, written, or validated.
ConnectionNotFoundInConfigError
ConnectionConfigErrorNamed connection is missing from the provider's connections.
ConnectionNotSpecifiedError
ConnectionConfigErrorThe active Yera profile does not specify a connection for this provider.
Raised when a provider type is needed at runtime but the active Yera profile's provider map does not include an entry for it.
HubInvalidConfigError
HubConfigErrorA hub entry failed HubConnection validation (e.g. bad URL).
HubNotFoundInConfigError
HubConfigErrorNamed hub is missing from yera.toml (or has no entry under [hubs]).
HubNotSpecifiedError
HubConfigErrorNo hub name could be resolved from CLI, project config, or yera.toml.
ModelInvalidConfigError
ModelsConfigErrorA hub entry failed HubConnection validation (e.g. bad URL).
ModelTypeNotFoundInConfigError
ModelsConfigErrorNo default model is configured for a given type.
ProfileConfigError
ConfigErrorRaised when Yera profile config resolution or validation fails.
ProfileInvalidConfigError
ProfileConfigErrorThe profiles section failed Pydantic validation.
ProfileNotFoundInConfigError
ProfileConfigErrorNamed Yera profile is missing from yera.toml [profiles].
ProfileNotSpecifiedError
ProfileConfigErrorNo active Yera profile could be resolved.
Raised when none of CLI flag, pyproject.toml, or yera.toml default yields a profile name.
ProviderNotFoundInConfigError
ProvidersConfigErrorNamed provider is missing from yera.toml.
ProvidersConfigError
ConfigErrorRaised when provider config resolution or validation fails.
ProvidersNotConfigured
ProvidersConfigErrorThe whole providers section is missing from yera.toml.
PyprojectTomlNotFoundError
ConfigErrorNo pyproject.toml could be resolved for a project-scoped write.
When message is omitted, default user-facing copy suggests creating
pyproject.toml or writing to yera.toml instead.