Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are some good `assert_match` macros that allow you to pattern-match error cases instead.

Might also be possible for error-chain to implement PartialEq if you didn't want some of its generalized error-boxing bits. If that's something you need, you might file an issue.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: