Comment Comment by ivanjermakov No one here mentioned Zig approach there, so I'll share: https://ziglang.org/documentation/master/#tryZig has try syntax that expands to `expr catch |e| return e`, neatly solving a common use case of returning an error to the caller. parent ivanjermakov 1 year ago
Zig has try syntax that expands to `expr catch |e| return e`, neatly solving a common use case of returning an error to the caller.