snafu

Easily assign underlying errors into domain-specific errors while adding context (by shepmaster)

Snafu Alternatives

Similar projects and alternatives to snafu

  • rust

    2,683 snafu VS rust

    Empowering everyone to build reliable and efficient software.

  • unsafe-code-guidelines

    Forum for discussion about what unsafe code can and can't do

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • miette

    6 snafu VS miette

    Fancy extension for std::error::Error with pretty, detailed diagnostic printing.

  • enum-code

    derive(Code) simplifies error handling by providing an easy-to-use enumeration of error codes

  • deno

    448 snafu VS deno

    A modern runtime for JavaScript and TypeScript.

  • json-spanned-value

    Track the origin of your json values for better error reporting!

  • gust

    Built in Rust and leveraging Docker, JSON, and SQLite (with future integration of a GraphQL API), 'gust' simplifies the process of preserving your recipes and creating comprehensive grocery shopping lists.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better snafu alternative or higher similarity.

snafu reviews and mentions

Posts with mentions or reviews of snafu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-09.
  • Modular Errors in Rust
    3 projects | news.ycombinator.com | 9 Apr 2023
    I encourage people to check out my SNAFU crate [1]. I encourage creating many distinct error types (usually enums but also structs) and composing them. So much so that I advocate that you never create one specific error in more than one source location. That means that the collection of error types produces a unique trace through your program, uniquely identifying the source of the error with no runtime cost (compare this to a runtime-collected stacktrace / backtrace).

    [1]: https://docs.rs/snafu/

  • Announcing Rust 1.58.0
    2 projects | /r/programming | 14 Jan 2022
    Yes, all procedural macros are inherently unhygienic. This has even bitten us once before.

Stats

Basic snafu repo stats
2
1,262
8.0
17 days ago

shepmaster/snafu is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of snafu is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com