sean / Result pattern with a closed error hierarchy (C#)
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 1 month ago
A way to make a method's failure modes part of its return type without OneOf's positional Tn tedium or a flat opaque Error blob. Emulates a discriminated union using a sealed record hierarchy.
Result pattern with a closed error hierarchy (C#)
A way to make a method's failure modes part of its return type without OneOf's
positional Tn tedium or a flat opaque Error blob. Emulates a discriminated
union using a sealed record hierarchy.
What to call it
There is no single name. It is three named things stapled together:
sean / A reusable opencode prompt
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 1 month ago
GPT thinks this is a good reusable prompt
We are working on this task:
Use a retrieval-first workflow.
Context priority:
- Current repo code
- Repo-local docs: AGENTS.md, PROJECT.md, README.md, docs/, adr/
- Active issue/PR/task description
Neuer
Älter