3 ms·
Why need error payloads when: You can do validation at user interface and report actual nice errors. And if something happens after that, you can save the sta
by ozgrakkurt 8mo ago
Why need error payloads when:
You can do validation at user interface and report actual nice errors.
And if something happens after that, you can save the stack trace into somewhere so the developer can see it. And you report unexpected error to user as that is exactly that
- ozgrakkurt 8mo agoWhat zig really needs is a stack trace that works properly on release mode. And a way to collect the stack trace into a string at runtime so it can be saved as a log or into a db