When this project was started failure was the way to go. However, time has moved on and the current recommendation for error handling seems to be thiserror. It would be nice to update all crates in this project to the latter. See #9 (comment) for some recent discussions on this topic.