Get the latest tech news
Error payloads in Zig
I do error payloads in Zig by making a union(enum)-based Diagnostics type for each function. These types have special methods which remove code bloat at call sites.
None
Or read this on Hacker NewsGet the latest tech news
I do error payloads in Zig by making a union(enum)-based Diagnostics type for each function. These types have special methods which remove code bloat at call sites.
None
Or read this on Hacker NewsRead more on:
Related news: