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

Adding separate exception for http error. Inherits from ApiMetaError #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ms5
Copy link
Contributor

@ms5 ms5 commented Jul 9, 2015

This is a proposal of handling api and http errors according to discussion of pr #43

includes two separate classes for api and http errors, but both exceptions are inherited from a ApiMetaError exception.

which ApiError also inherits from.

rename ApiMetaError to ApiBaseError
@ms5 ms5 force-pushed the http_error_code_metaclass branch from 5269bc8 to 7a37483 Compare July 10, 2015 08:44
@ms5
Copy link
Contributor Author

ms5 commented Jul 10, 2015

I renamed the base exception to ApiBaseError which is IMHO more adequate about what is is, than "meta" exception which is misleading.

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

Successfully merging this pull request may close these issues.

1 participant