-
Notifications
You must be signed in to change notification settings - Fork 82
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
Refactor error system #164
Comments
Anyhow is too freeform for a good library API. thiserror would be great, but it's unconditionally tied to
|
I've seen |
After discussing with @romac, a good direction also is to go by this comment's advice. In short, use displaydoc + implement The main reason is that we don't need any fancy error functionality in the handlers (e.g. no backtrace functionality needed) that were useful for hermes. Therefore, our " |
I think once the core::error::Error stabilizes in a rust stable version, some error processing libraries will be supported soon. |
…ream-ibc-rs update new dep ibc-rs
Currently, most of our defined errors are unused (they were previously created for
hermes
needs). This creates confusion in how to use the errors properly.We should also revisit whether we need
flex_error
, or if instead we want to move to a more canonical & simple error crate such as anyhow.The text was updated successfully, but these errors were encountered: