You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Between web3 0.6.0 and latest master there seems to be a breaking change in how web3::Error is implemented. In 0.6.0 I was able to rely on web3::Error to implement Error and therefore had a description() API.
This is no longer the case, so i was wondering how I can access a web3::Error's message when wrapping them in my own errors.
The text was updated successfully, but these errors were encountered:
@PascalPrechtstd::error::Error::description is soft-deprecated, you should use Display instead. That said the fact that our types don't implement this trait is a bug, it got lost during the refactoring.
Between web3 0.6.0 and latest master there seems to be a breaking change in how web3::Error is implemented. In 0.6.0 I was able to rely on web3::Error to implement
Error
and therefore had adescription()
API.This is no longer the case, so i was wondering how I can access a web3::Error's message when wrapping them in my own errors.
The text was updated successfully, but these errors were encountered: