Lukas
edebf1a339
feat(services): add ErrorContract enum and PartialResult type
Add typed wrappers for error handling patterns in error_handling.py:
- ErrorContract(enum): machine-checkable pattern selector with
from_value() helper and string constants matching the existing
ABORT_ON_ERROR/RETURN_DEFAULT/PARTIAL_RESULT module-level values
- ErrorEntry: typed error container for PARTIAL_RESULT (context + cause)
- PartialResult[T]: typed result wrapper for PARTIAL_RESULT operations
Existing string constants preserved for backward compat.
Updated module docstring with type annotation table and examples.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-03 22:46:47 +02:00
..
2026-05-03 22:46:47 +02:00
2026-04-25 18:59:49 +02:00
2026-05-03 20:33:23 +02:00
2026-05-03 17:40:37 +02:00
2026-02-28 21:50:37 +01:00
2026-05-03 11:52:01 +02:00
2026-05-03 22:42:46 +02:00