Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels
Activity