Rust rust-error

Open-source Rust projects categorized as rust-error

Rust rust-error Projects

  • wherr

    Enhance Rust errors with file and line details using the `#[wherr]` macro for clearer debugging.

  • Project mention: Enhance Rust errors with file and line details | news.ycombinator.com | 2023-08-23

    I've added a branch for this: https://github.com/joelonsql/wherr/tree/track_caller

    `src/lib.rs` is your code copy/pasted, with the addition of `impl<'a, E: StdError + 'a> From for Box` like suggested (and also just `Send`).

    I've also added a `fn inner_error<'a>(&'a self) -> &'a (dyn StdError + 'a);`, but not sure this is the proper way.

    I can't wrap my head around how to match on the inner error though, see `examples/matching_inner.rs`:

        match my_error_wrapped().unwrap_err() {

  • 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
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Index

Project Stars
1 wherr 49

Sponsored
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.
www.influxdata.com