-
Notifications
You must be signed in to change notification settings - Fork 153
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
Generalize AnyError
#1179
Comments
👋 Thanks for opening this issue! Get help or engage by:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
openraft
usesanyerror
crate, which allows passing "any" errors.However,
AnyError
is understandably somewhat limited, since it was written for general public. In our project, we use a different version ofAnyError
which allows better diagnostics and also stores some errors in-place. Plus, it won't panic on OOM.Therefore, it would be helpful to generalize
AnyError
via the configuration to be able to use a different implementation. Since the API is quite small, it should be fairly trivial.The text was updated successfully, but these errors were encountered: