Files

11 lines
426 B
Python
Raw Permalink Normal View History

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