Files
video/server/.venv/lib/python3.11/site-packages/pydantic_settings/exceptions.py
T
2026-10-15 20:36:59 +08:00

11 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.
"""