ozgur/python-linkedin — pull request #54 by ismix (2014-06-26 22:18:05+00:00)
Title: Throw different exceptions based on error code in response

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.