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
Currently we do just .expect(), which doesn't scale.
Do people (@mbernat?) have opinions on "dynamic" errors (anyhow) vs. more statically defined (thiserror)?
If we target being a library, then static thiserror-like errors are more appropriate, but I wonder if that isn't an overkill doing now in the prototyping phase. (we should start with anyhow and eventually convert to thiserror).
And meybe there's some alternative to the 2 mentioned libraries?
The text was updated successfully, but these errors were encountered:
Personally, for this prototyping phase I'm OK with anyhow. As an alternative we could use eyre, which I haven't used for any personal project yet but I hear is pretty good (I kinda remember one of you using it for something, but I'm not sure)
Currently we do just
.expect()
, which doesn't scale.Do people (@mbernat?) have opinions on "dynamic" errors (
anyhow
) vs. more statically defined (thiserror
)?If we target being a library, then static
thiserror
-like errors are more appropriate, but I wonder if that isn't an overkill doing now in the prototyping phase. (we should start withanyhow
and eventually convert tothiserror
).And meybe there's some alternative to the 2 mentioned libraries?
The text was updated successfully, but these errors were encountered: