zio-json icon indicating copy to clipboard operation
zio-json copied to clipboard

Encoders and Decoders for the type zio.Cause

Open skmuiruri opened this issue 2 years ago • 2 comments

When sandboxing a ZIO application, it could be quite useful to be able to transform the obtained Cause to JSON to then place it in some payload and return it with the request.

skmuiruri avatar Jun 28 '22 13:06 skmuiruri

Cause can be a quite complex structure because of parallel errors, I’m not sure that there is one best way to encode it.

fsvehla avatar Jul 13 '22 09:07 fsvehla

Not sure this should be a feature of zio-json. Seems too specific

guizmaii avatar Oct 31 '23 09:10 guizmaii