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

Redefine network error class #150

Merged
merged 2 commits into from Dec 5, 2019
Merged

Conversation

ryz310
Copy link
Owner

@ryz310 ryz310 commented Dec 5, 2019

The faraday gem error class definitions were updated by v0.17.1 and then some error class' super classes were changed.

Originally, any network error classes had inherited Faraday::ClientError class, but currently have inherited Faraday::ServerError or Faraday::Error class.

The my_api_client needs to redefine the network error class and to add dependency on the faraday version.

@ryz310 ryz310 changed the title Modify network error class definition Redefine network error class definition Dec 5, 2019
@ryz310 ryz310 changed the title Redefine network error class definition Redefine network error class Dec 5, 2019
@codeclimate
Copy link

codeclimate bot commented Dec 5, 2019

Code Climate has analyzed commit d1d75e9 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 98.7% (0.0% change).

View more on Code Climate.

@ryz310 ryz310 self-assigned this Dec 5, 2019
@ryz310 ryz310 added the bug Something isn't working label Dec 5, 2019
@ryz310 ryz310 merged commit 21856f7 into master Dec 5, 2019
@ryz310 ryz310 deleted the network-error-class-definition branch December 5, 2019 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant