http://compresscafe.i2p/blog/applying_the_diagnostics_pattern_in_practice.html
UP | HOME Applying the Diagnostics pattern in practice One of the most commonly cited weaknesses of Zig is that error unions don't have an error payload,
unlike Rust's Result . So, human-readable error information is usually either passed around with a Diagnostics struct, shat to stdout, or not there at all.