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

Yes, 'try' can be used like an expression in Zig which resolves to the unwrapped success-result of an error-union, or in case of an error immediately passes the error-result up to the calling function.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: