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

Add Route#handleErrorRequestZIO #3159

Open
mschuwalow opened this issue Sep 22, 2024 · 0 comments
Open

Add Route#handleErrorRequestZIO #3159

mschuwalow opened this issue Sep 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mschuwalow
Copy link
Member

Is your feature request related to a problem? Please describe.
Not related to an usecase, but I noticed that handleErrorRequest is the only error handling function that does not have a ZIO counterpart. I propose adding it for symmetry and ocd purposes.

Describe the solution you'd like
Add a Route#handleErrorRequestZIO that is similiar to Route#handleErrorRequest, but allow passing a function producing a zio effect.

@mschuwalow mschuwalow added the enhancement New feature or request label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant