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

Hi, it's nice to have error type(original code), in case it will be handled in details. #200

Closed
wants to merge 1 commit into from

Conversation

darnes
Copy link

@darnes darnes commented Mar 10, 2015

No description provided.

@martey
Copy link
Member

martey commented Apr 9, 2015

What if an error has a message, but no code? Could you use .get to avoid the KeyError that would otherwise happen?

@darnes
Copy link
Author

darnes commented Apr 9, 2015

you absolutely right, just was trying to follow available style. In that case it make sense to change all the code that reads exception details. I'll dial with it and come back later.

@martey
Copy link
Member

martey commented Apr 9, 2015

No worries - I know #138 should fix most of our error handling issues, but any improvement (like this issue) would be great.

@martey
Copy link
Member

martey commented Sep 6, 2015

Closing, but feel free to open a new pull request with additional changes.

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

Successfully merging this pull request may close these issues.

2 participants