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

Customize annotation display

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

Annotations are currently always displayed with show, which leads to clumsy output, especially if the annotation is a JSON object or similar:

https://github.com/parsonsmatt/annotated-exception/blob/41731562c73d17f36fb22e0ede681bbced2abc3a/src/Control/Exception/Annotated.hs#L156

Being able to override how exceptions are displayed would make it possible to render annotations nicely in more cases.

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