Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: