I find the Zig example to be shocking.
It's just so brittle. How can anyone think this is a good idea?
replies(5):
It's just so brittle. How can anyone think this is a good idea?
What's happening is that compiler knows the two errors come from disjoint error set, but it promotes them both to anyerror
Details at https://github.com/ziglang/zig/issues/25046