Richterrettich / rpm-rs

A pure rust library for building and parsing RPM's
Other
39 stars 18 forks source link

Improve the error story #14

Closed drahnr closed 3 years ago

drahnr commented 4 years ago

Currently error handling is quite plain and not sophisticated with passing a lot of Strings around.

One of my favourites here is thiserror since it appears as std::error::Error trait impl to the outside world, yet allows convenience to avoid having to implement all enumerations of an enum manually.

Richterrettich commented 3 years ago

thiserror looks promising. I'll have a look.