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

Make exceptions clearer #132

Open
Perseudonymous opened this issue Jan 14, 2020 · 1 comment
Open

Make exceptions clearer #132

Perseudonymous opened this issue Jan 14, 2020 · 1 comment

Comments

@Perseudonymous
Copy link
Owner

At the moment they are all APIException - this could be clearer

@Perseudonymous Perseudonymous changed the title Make warning types clearer Make exceptionss clearer Jan 14, 2020
@Perseudonymous Perseudonymous changed the title Make exceptionss clearer Make exceptions clearer Jan 14, 2020
@Perseudonymous
Copy link
Owner Author

class APIException(Exception):
    """When Datapoint returns a broken API response."""

    pass

Is definitely not all this does now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant