Skip to content

Commit e8403a9

Browse files
committed
Mention lazy_errors in similar crates
1 parent 8dd5527 commit e8403a9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,22 @@ fn a_b_c() -> Result<(A, B, C), Vec<HighLevelErr>> {
5959

6060
## Similar crates
6161

62+
- [lazy_errors](https://docs.rs/lazy_errors/0.7.0/lazy_errors/index.html)
63+
64+
> Effortlessly create, group, and nest arbitrary errors, and defer error handling ergonomically.
65+
66+
This crate is `return_multiple_errors!` done right! It appeared a few months
67+
later than mine. If it had existed, I would have probably just used it.
68+
6269
- [frunk::validated::Validated](https://docs.rs/frunk/0.4.2/frunk/validated/enum.Validated.html)
6370

6471
> A Validated is either an Ok holding an HList or an Err, holding a vector
6572
> of collected errors.
6673
67-
It achieves similar goals to `return_multiple_errors!`, but in a more
68-
abstract, type-heavy and composable way.
74+
This is somewhat similar to
75+
[lazy_errors](https://docs.rs/lazy_errors/0.7.0/lazy_errors/index.html) and
76+
`return_multiple_errors!`, but seems more abstract and type-heavy, the docs
77+
are harder to follow.
6978

7079
- [itertools::Itertools::partition_result](https://docs.rs/itertools/0.12.1/itertools/trait.Itertools.html#method.partition_result)
7180
and more general

0 commit comments

Comments
 (0)