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

Allow Kotlin suspending functions in error handlers #3405

Closed
rjaros opened this issue Apr 3, 2024 · 2 comments
Closed

Allow Kotlin suspending functions in error handlers #3405

rjaros opened this issue Apr 3, 2024 · 2 comments

Comments

@rjaros
Copy link
Contributor

rjaros commented Apr 3, 2024

I would like to generate custom error response using Kotlin suspending function. Currently I can only use runBlocking {} call . Would be great to see better solution.

@jknack
Copy link
Member

jknack commented May 12, 2024

@rjaros would you like to submit a PR?

@rjaros
Copy link
Contributor Author

rjaros commented May 13, 2024

I don't know what is the best way to fix this.

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

No branches or pull requests

2 participants