The trait `std::error::Error` is not implemented for `ProviderError`, used by `urlshortener::client::UrlShortener::generate`
Antosser opened this issue · comments
Anton Aparin commented
The trait std::error::Error
is not implemented for ProviderError
, used by urlshortener::client::UrlShortener::generate
.
This means that you can't ?
out of a -> anyhow::Result<_>
function, which is quite unpractical
Shockingly Good commented
Yes, this is true. It has been a long time since I last visited the crate. I'll try finding the time to add it.
Shockingly Good commented
Implemented and published as 3.1.0. Thanks!