Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoders and Decoders for the type zio.Cause #645

Open
skmuiruri opened this issue Jun 28, 2022 · 2 comments
Open

Encoders and Decoders for the type zio.Cause #645

skmuiruri opened this issue Jun 28, 2022 · 2 comments

Comments

@skmuiruri
Copy link

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.

@fsvehla
Copy link
Contributor

fsvehla commented Jul 13, 2022

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

@guizmaii
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants