annotated-exception icon indicating copy to clipboard operation
annotated-exception copied to clipboard

`show` in `displayException` is rarely useful

Open 9999years opened this issue 9 months ago • 0 comments

Often, either displayException = show or displayException is hand-written and duplicates the information from show.

Either way, AnnotatedException's displayException implementation includes both the show and displayException of the wrapped exception, which usually leads to the same error message (or at least the same information) being included twice. This makes error messages harder to read, especially since the show output is displayed first.

9999years avatar Apr 07 '25 20:04 9999years