derive(Error) for struct and enum error types (by dtolnay)


Basic thiserror repo stats
about 2 months ago

dtolnay/thiserror is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

Thiserror Alternatives

Similar projects and alternatives to thiserror
  • GitHub repo rust

    Empowering everyone to build reliable and efficient software.

  • GitHub repo Mockito

    Most popular Mocking framework for unit tests written in Java

  • GitHub repo anyhow

    Flexible concrete Error type built on std::error::Error

  • GitHub repo pico-args

    An ultra simple CLI arguments parser.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better thiserror alternative or higher similarity.


Posts where thiserror has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-08.
  • Can we please stop downvoting people who dislike Rust? | 2021-04-08
    Have you tried anyhow and thiserror for making it as simple as .context("Message") or ? to type-convert and propagate errors up the call stack?