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-02-28 21:15:01 +01:00
2026-04-25 18:39:30 +02:00
2026-05-03 20:51:51 +02:00
2026-05-03 18:19:41 +02:00
2026-04-27 18:34:11 +02:00
2026-04-29 19:10:51 +02:00
2026-05-02 23:39:43 +02:00
2026-05-03 18:19:41 +02:00
2026-05-03 11:52:09 +02:00
2026-04-26 14:27:33 +02:00
2026-05-03 01:05:18 +02:00
2026-04-29 19:10:51 +02:00
2026-05-03 22:46:47 +02:00
2026-04-25 18:39:30 +02:00
2026-05-01 21:47:36 +02:00
2026-05-03 00:35:47 +02:00
2026-04-23 16:18:09 +02:00
2026-05-01 21:47:36 +02:00
2026-05-03 17:40:37 +02:00
2026-05-03 01:05:18 +02:00
2026-05-03 18:19:41 +02:00
2026-04-25 18:39:30 +02:00
2026-05-01 21:47:36 +02:00
2026-04-26 14:27:33 +02:00
2026-05-03 17:40:37 +02:00
2026-04-17 15:13:07 +02:00
2026-05-03 12:17:31 +02:00