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

Raise specific exceptions on 400 #2

Closed
dblock opened this issue Mar 28, 2018 · 0 comments · Fixed by #9
Closed

Raise specific exceptions on 400 #2

dblock opened this issue Mar 28, 2018 · 0 comments · Fixed by #9

Comments

@dblock
Copy link
Owner

dblock commented Mar 28, 2018

For example, pass InvalidOption into chart and you get a 400 with a JSON response. Raise something better than a generic Faraday::ClientError: the server responded with status 400.

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