sean / Result pattern with a closed error hierarchy (C#)
Last active 3 months 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.