flo-schu / pymob

Python model building platform
MIT License
0 stars 0 forks source link

Add and Error module for informative error messages #87

Open flo-schu opened 1 month ago

flo-schu commented 1 month ago

I'm repeating instructions over and over again. I think it would be super helpful to have a module of Errors, that can be composed and give the user the right information at the right time.

For instance I can have data variable, parameter or coordinate instructions and write them once and always return them when an assoicated error occurs

API idea

pymob.utils.errors module

Maybe errors can also be stacked or something fancy.