add
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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.
|
||||
"""
|
||||
Reference in New Issue
Block a user