You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, openraft uses anyerror 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 of AnyError 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:
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: