2 unstable releases

0.2.0 Nov 23, 2019
0.1.0 Nov 3, 2019

#269 in Debugging

Download history 534/week @ 2022-06-03 465/week @ 2022-06-10 459/week @ 2022-06-17 396/week @ 2022-06-24 505/week @ 2022-07-01 580/week @ 2022-07-08 578/week @ 2022-07-15 565/week @ 2022-07-22 257/week @ 2022-07-29 281/week @ 2022-08-05 170/week @ 2022-08-12 179/week @ 2022-08-19 149/week @ 2022-08-26 162/week @ 2022-09-02 278/week @ 2022-09-09 119/week @ 2022-09-16

735 downloads per month
Used in 3 crates

MIT license

6KB
52 lines

error-iter

Documentation Build Status unsafe forbidden

Use Error::chain on stable Rust.

MSRV

Supports Rust 1.37.0 and higher.

Compiles on Rust 1.31.0, but does not return the tail source. (Tests fail on anything less than 1.37.0.)

What is this?

Error::chain is incredibly useful for providing error context in Rust applications. For motivation, see RFC 2504. This iterator is available in nightly compilers with #58520 tracking stabilization.

This crate does not attempt to be 100% compatible with the stabilization effort, but does want to provide very similar functionality to stable Rust.

Show me

cargo run --example simple

Why not a derive macro?

PRs welcome! :)

No runtime deps