What's the alternative to error_chain in 2023?

I came across the April 2019 topic error_chain no longer maintained while following examples in the Rust Cookbook.

Here I am, 4 years later, wondering what a new Rust user should be using instead.
What's the state of errors in 2023?

(Also, since that cookbook example is obviously out-of-date, any advice for a better simple HTTP get request example? Or is it otherwise valid?)

The current favorites are thiserror for libraries, and anyhow for applications.

If you like big macros to declare your error types, there's also quick-error.


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.