cooperlees / monitord

Script to parse systemd units and components health + offer telemetry
GNU General Public License v2.0
22 stars 8 forks source link

Change all public function to have custom errors via thiserror #53

Open cooperlees opened 1 year ago

cooperlees commented 1 year ago

Error handling is a bit crappy, mainly due to me being a n00b when first writing this.

Let's do better with custom per mod error types better for monitord's own code + library users.