logoalt Hacker News

joaohaaslast Tuesday at 10:44 PM0 repliesview on HN

Zig 'error types' are a sum type, while Go ones are just values.

And even then this is just the same as the '?' operator Rust uses, which is mentioned in the post.