I have been using thiserror, and somtimes snafu, for error handling in libraries and anyhow for error handling in applications.

This blog post describes a new library, Stackerror, that looks interesting. The post also gives a good overview of error handling in Rust.

  • arcterus@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 days ago

    I may be wrong since it seemed to mostly gloss over deriving new errors, but this article gave me the impression that it’s not much different from a predefined thiserror type.