xactor
xactor copied to clipboard
using anyhow::Error
Why use anyhow::Error, I don't get why it is needed, it leaks the interface so I have to add anyhow to my dependencies if I want to handle errors from xactor.Also, I would like to not have to learn about "anyhow" just to use xactor. I think a concrete Error struct would be better maybe?
I don't think anyhow is intended for libraries. thiserror
is a nice "non-leaking" lib that produces typesafe errors. I think xactor should probably switch.