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

Throw different exceptions based on error code in response #54

Merged
merged 1 commit into from
Jul 2, 2014

Conversation

ismix
Copy link
Contributor

@ismix ismix commented Jun 26, 2014

All error codes that I can find in the documentation are separated with their own exception classes, based on these two pages:

https://developer.linkedin.com/documents/handling-errors-invalid-tokens
https://developer.linkedin.com/documents/error-codes

All new exception classes subclass LinkedInError for backward compatibility.

ozgur added a commit that referenced this pull request Jul 2, 2014
Throw different exceptions based on error code in response
@ozgur ozgur merged commit 0784d17 into ozgur:master Jul 2, 2014
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.

2 participants