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
Anyhow should only be used when the returned errors are not well defined. For most cases, thiserror is a better and lighter fit. This issue is to track the removal of anyhow from the codec and decoder code.
The text was updated successfully, but these errors were encountered:
Was there? I don't know what the rationale was, but in my experience thiserror forces a stronger discipline wrt. how we handle errors (and may end up being more lightweight), so I'd like to consider using it for at least the lowest layers. I'm happy to consider counter-arguments though.
Anyhow should only be used when the returned errors are not well defined. For most cases,
thiserror
is a better and lighter fit. This issue is to track the removal ofanyhow
from the codec and decoder code.The text was updated successfully, but these errors were encountered: