2 ms·
I personally replace it with logging. In most other languages, the common thing is to log error message up in the stack, where you actually handle the error in
by lukaslalinsky 2y ago
I personally replace it with logging. In most other languages, the common thing is to log error message up in the stack, where you actually handle the error in some way. In Zig, I do it whenever I trigger an error. I've only used Zig for one server application, so having a lot of error messages in logs works fine, even if some of them are possible redundant.