Collected sources and patterns will appear here. Add from search or the patterns library.
ErrorUnion<T> -> T
Combine return value and error code into a single binary union forcing explicit compiler-checked handling at the call site.
Problem it solves
Exceptions introduce invisible execution paths, while C-style return codes are easily ignored.
Consumes
Emits
The real projects this mechanism was found in. Attribution is the point — this is how the best teams actually do it.