4 ms·
Zig runtime optionally records few last points in sources where the error is propagated to the caller so you get stack traces. If you need more than that and e
by fpoling 2y ago
Zig runtime optionally records few last points in sources where the error is propagated to the caller so you get stack traces.
If you need more than that and error codes, then either log as the sibling suggested or use custom return types. Anything more complex than what can be encoded as error codes is not an exception.