4 ms·
ErrorSets have been in the language for some time now. The syntax you are referencing is pretty outdated now too, when considering the pace of language changes
by AnIdiotOnTheNet 8y ago
ErrorSets have been in the language for some time now. The syntax you are referencing is pretty outdated now too, when considering the pace of language changes here in Zig's pre-1.0 days.
https://ziglang.org/documentation/master/#Error-Set-Type https://ziglang.org/documentation/master/#Error-Set-Type
- dbaupp 8y agoAh that explains it: I was looking at the now-old https://andrewkelley.me/post/intro-to-zig.html#error-type https://andrewkelley.me/post/intro-to-zig.html#error-type