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
.run(reconcile, error_policy, context)
^^^ the trait `StdError` is not implemented for `anyhow::Error`
which is kind-of expected: It's not implemented in anyhow: dtolnay/anyhow#25.
I'd like to use the same error library in all of the application and so would like to use anyhow's error. Is that possible? If so, how?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When trying to write a controller that uses
anyhow::Error
(e.g. like in the example https://docs.rs/kube/latest/kube/runtime/controller/struct.Controller.html, replacingerror
withanyhow::Error
), I get the errorwhich is kind-of expected: It's not implemented in anyhow: dtolnay/anyhow#25.
I'd like to use the same error library in all of the application and so would like to use anyhow's error. Is that possible? If so, how?
Beta Was this translation helpful? Give feedback.
All reactions