reth icon indicating copy to clipboard operation
reth copied to clipboard

Introduce a custom enum for ExEx WAL errors

Open shekhirin opened this issue 1 year ago • 1 comments

Describe the feature

Currently, we use eyre::Result for errors in ExEx WAL, but we can do better with a custom thiserror-powered enum that has rich variants (with tuples/structs) to pass additional fields such as file_id.

https://github.com/search?q=repo:paradigmxyz/reth+path:crates/exex/exex/src/wal+eyre&type=code

Additional context

No response

shekhirin avatar Oct 02 '24 12:10 shekhirin