ifixkart-backend/venv/lib/python3.12/site-packages/pydantic_settings/exceptions.py

10 lines
426 B
Python

class SettingsError(ValueError):
"""Base exception for settings-related errors."""
class IncompleteFieldDefinitionWarning(UserWarning):
"""Warning emitted when a field with an incomplete definition is used during settings resolution.
A field definition is incomplete when its annotation contains unresolved forward references,
in which case settings sources may fail to correctly resolve its value.
"""