Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better errors #93

Open
cattabiani opened this issue Feb 25, 2025 · 0 comments
Open

better errors #93

cattabiani opened this issue Feb 25, 2025 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@cattabiani
Copy link
Contributor

cattabiani commented Feb 25, 2025

While working on a test I am finding myself wasting time, putting the wrong population names around. This made me realize that it would be useful to not just return None if we do not find a population (for example). Why don't raise an error and print the available populations instead?

Bonus points: we could have more descriptive __str__ or __repr__ methods

@cattabiani cattabiani added enhancement New feature or request question Further information is requested labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant