Closed refcell closed 3 days ago
I can do this
I can do this
Thanks for the interest! I went ahead and got this done as we have an upcoming release for Sepolia testnet, and would like this change included. Glad to get you involved on other work if you'd like!
Description
Since
thiserror
v2 was released,kona
can now use theno_std
compatiblethiserror
for use in defining custom error types instead of manually implementing thecore::error::Error
trait for error types withderive_more::Display
.From<some_type> for CustomError
should also be replaced with the#[from]
syntax sugar provided by thiserror.