What we did (in Java production systems) is to put everything about an error except for the stack trace in a single line, followed by a stack trace with newlines as usual. But of course that’s not the only option as you point out. It’s just what I am used to doing.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| `Format`-based `ppx_deriving.show` syntax | 4 | 503 | February 28, 2023 | |
| Testing with ppx_expect and ppx_deriving.show | 2 | 1421 | May 24, 2018 | |
| Deriving show not working as expected | 2 | 2156 | February 25, 2022 | |
| Is there plugin `show` based on `ppxlib.Deriving` | 1 | 1820 | July 1, 2019 | |
| How to disable ppx_deriving.show printer output for some AST nodes? | 3 | 164 | January 15, 2025 |