Y
Hacker News
new
|
ask
|
show
|
jobs
by
flohofwoe
1039 days ago
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.