gauge-sh / tach

A Python tool to enforce dependencies, using modular architecture 🌎 Open source 🐍 Installable via pip πŸ”§ Able to be adopted incrementally - ⚑ Implemented with no runtime impact ♾️ Interoperable with your existing systems πŸ¦€ Written in rust
https://gauge.sh
MIT License
1.16k stars 36 forks source link

Better error handling #285

Closed sparshg closed 2 months ago

sparshg commented 2 months ago

This PR is to support and prepare #284 for the restructure. Uses thiserror module to restructure and make error handling more consistent.

Also handles a critical bug of infinite recursion and crash due to err.into() in Line 50 https://github.com/gauge-sh/tach/blob/b53cb3e45ffe1e428300d45832c4b0311c7c423e/src/lib.rs#L46-L50