dtolnay / dtolnay/thiserror

Implement `sources` on the type that derives Error

Open
#8 3 comments 0 reactions 0 assignees View on GitHub
later
Dominant language
Rust
Stars
5.5k
Forks
213
PR merge metrics
No merged PRs in 30d

Description

I think it'd be immensely useful if `iter_chain` can be added on the type that derives Error and delegated to std::error::Error's iter_chain on nightlies with `error_iter` feature. Sure, one can always convert it into the std::error trait object and do it from there, but I think this will be ergonomic to have it right on the type.

https://doc.rust-lang.org/std/error/trait.Error.html#method.iter_chain

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.