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
In writing a custom reconciler for a data type to use with autosurgeon(with=..., I want to call a method that returns a Result.
To return an error from that Result, I need an API to allow me to construct an instance of Reconciler::Error. Currently that type is std::error::Error + From<StaleHeads>. Adding something like From<some::error::Type> or adding a method to Reconciler like error(some::error::Type) would allow me to communicate errors back to the reconcile caller.
The text was updated successfully, but these errors were encountered:
In writing a custom reconciler for a data type to use with
autosurgeon(with=...
, I want to call a method that returns aResult
.To return an error from that Result, I need an API to allow me to construct an instance of
Reconciler::Error
. Currently that type isstd::error::Error + From<StaleHeads>
. Adding something likeFrom<some::error::Type>
or adding a method to Reconciler likeerror(some::error::Type)
would allow me to communicate errors back to the reconcile caller.The text was updated successfully, but these errors were encountered: