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

Add codes in exceptions to be better handled in client #12

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

chronossc
Copy link

No description provided.

Arthur Debert and others added 5 commits April 3, 2014 13:01
The list of required fields doesn't match the documentation nor the underlying API, those fields aren't really required.
[update] Installation process to make it compatible with pip>=1.5

def __str__(self):
return self.message
if self.code:
return "({}) {}".format(self.code, self.message)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can message or code hold special chars?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess they come in english, but I'll add a u in string to support unicode.

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.

3 participants