namada
namada copied to clipboard
consider using `std::io::Error` in place of `storage_api::Error`
The std::io::Error has the same design considerations that we want for storage_api::Error and is familiar to Rust devs, so it might be better to use it than to re-invent our own. Additionally, std::io::Error is well suited for no-std (wasm) env too.
a new alternative that improves many things in error handling: https://github.com/hashintel/hash/tree/main/libs/error-stack
another new crate that provides nice error handling ergonomics without giving up type-safety https://crates.io/crates/terrors (can be used in combination with some other crate)