parasyte / error-iter

Error::sources on stable Rust
https://docs.rs/error-iter
MIT License
7 stars 2 forks source link

error-iter

Crates.io Documentation GitHub actions GitHub activity GitHub Sponsors unsafe forbidden

Use Error::sources on stable Rust.

MSRV

Supports Rust 1.56.0 and higher.

What is this?

Error::sources 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