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

make RetryableError implementations automatic with a proc-macro #1123

Open
insipx opened this issue Oct 7, 2024 · 0 comments
Open

make RetryableError implementations automatic with a proc-macro #1123

insipx opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@insipx
Copy link
Contributor

insipx commented Oct 7, 2024

The majority of RetryableError implementations are trivial but create lots of boilerplate in our code. Instead, we can design a proc-macro similar to thiserror::Error to annotate enum variants which are retryable. Custom retryable implementations are still possible by not using the proc macro

@insipx insipx added the enhancement New feature or request label Oct 7, 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
Status: No status
Development

No branches or pull requests

1 participant