A simple rule of thumb for error handling in Rust: in an application use anyhow (or eyre) as a catch-all, in a library use thiserror (or snafu) for precise error definitions. #rustlang https://medium.com/@evadawnley/error-handling-in-rust-choosing-between-thiserror-and-anyhow-6da5ce825d34

Comments