PufferFinance / secure-signer

Secure-Signer
https://pufferfinance.github.io/secure-signer/
Apache License 2.0
76 stars 16 forks source link

Use custom concrete error types #49

Open kamiyaa opened 9 months ago

kamiyaa commented 9 months ago

I haven't used anyhow much myself, but from what I read online, I think it makes more sense to have custom error types as a library.

I think it should also help with

https://www.reddit.com/r/rust/comments/gqe57x/what_are_you_using_for_error_handling/

JasonVranek commented 9 months ago

This is a pretty old post. I see a lot of rust Ethereum projects using https://github.com/eyre-rs/eyre which is a better fork of anyhow. We can switch to this in future but consider it low priority.