Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
throwawaymaths
on Aug 6, 2023
|
parent
|
context
|
favorite
| on:
Error Handling in Zig
You can stuff your error payload in an in-out parameter in an options tuple. This way you don't lose errdefer and if you don't want it the code for it doesn't exist (deleted at comptime)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: