Refine cutile-macro error#59
Conversation
e2c2324 to
0d8471b
Compare
elibol
left a comment
There was a problem hiding this comment.
Thanks for cleaning this up — the error API simplification and ok_or_else patterns look good.
One question: the change from .err("msg") (one step, returns Result) to .error("msg").into() (two steps) is more verbose at each call site. Was the motivation to make Error usable outside of Result contexts (e.g., error collection), or is there another reason for the split? Wondering if there's a way to keep the one-step ergonomics while still getting the benefits of the refactor.
Otherwise LGTM!
I started by replacing Personally I perfer unified |
b652626 to
426e3d2
Compare
426e3d2 to
12ded13
Compare
No description provided.