Re:Low-Level Optimization with Zig
by metaltyphoon on Saturday June 07, 2025 @09:36PM
(#44213945)
Yep. Errors carry no context whatsoever and you have no idea where they came from.
[ Parent
| on HN ]
You can trace error returns with the builtin @errorReturnTrace function.
https://ziglang.org/documentation/0.14.1/#errorReturnTrace
https://ziglang.org/documentation/0.14.1/#Error-Return-Trace...