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

Add ability to opt out of raising errors on non 2xx responses #80

Open
adherr opened this issue Feb 22, 2019 · 0 comments
Open

Add ability to opt out of raising errors on non 2xx responses #80

adherr opened this issue Feb 22, 2019 · 0 comments

Comments

@adherr
Copy link
Contributor

adherr commented Feb 22, 2019

In our API we occasionally encounter dead links. I would like a version of Representation#related that does not raise when I ask it to reify a dead link. What it should return is interesting.

We return HAL bodies with most errors, and I would like access to that and possibly the response code. Maybe an ErrorRepresentation that acts like a real Representation, giving reasonable responses to the public methods, but that includes details of the error?

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