cooperlees / monitord

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

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

Open cooperlees opened 12 months ago

cooperlees commented 12 months 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.