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

LinkedIn::APIError is unused #19

Open
niels opened this issue Nov 10, 2014 · 0 comments
Open

LinkedIn::APIError is unused #19

niels opened this issue Nov 10, 2014 · 0 comments

Comments

@niels
Copy link

niels commented Nov 10, 2014

Back in 0.3.X, we used to have response-code specific error classes such as UnauthorizedError.

With v1, these are gone, seemingly replaced by the generic APIError. This already makes it more cumbersome to check for specific error responses.

However, APIError seems to not even be in use? It is defined in lib/linked_in/errors.rb but raised nowhere. Instead, error responses from the server result in Faraday::ClientErrors.

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

No branches or pull requests

1 participant