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
Reduce or eliminate unnecessary unwrap/expect use in the code
Change fallible functions' signatures to Result<...>
Longer term:
Switch from anyhow crate to custom errors, eg with thiserror crate. This enables better control over the error types and nehaviour, such as the possibility to statically disable expensive backtraces for errors that do not need it, and to attach and filter context to errors.
The text was updated successfully, but these errors were encountered:
unwrap
/expect
use in the codeResult<...>
Longer term:
anyhow
crate to custom errors, eg withthiserror
crate. This enables better control over the error types and nehaviour, such as the possibility to statically disable expensive backtraces for errors that do not need it, and to attach and filtercontext
to errors.The text was updated successfully, but these errors were encountered: